Skip to content

Commit 10ea278

Browse files
committed
Fixed error message
1 parent 5b85f04 commit 10ea278

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Next steps will guide you through the process of installing yii2-vote using **co
1818
Run command
1919

2020
```
21-
php composer.phar require --prefer-dist chiliec/yii2-vote "^4.1"
21+
php composer.phar require --prefer-dist chiliec/yii2-vote "^4.2"
2222
```
2323

2424
or add
2525

2626
```
27-
"chiliec/yii2-vote": "^4.1"
27+
"chiliec/yii2-vote": "^4.2"
2828
```
2929

3030
to the require section of your `composer.json` file.

widgets/Vote.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function vote(model, target, act) {
164164
$this->jsAfterVote
165165
},
166166
error: function(jqXHR, textStatus, errorThrown) {
167-
errorMessage
167+
$errorMessage
168168
}
169169
});
170170
}

0 commit comments

Comments
 (0)