mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-14 19:19:08 +03:00
fix button
This commit is contained in:
parent
78ace421d5
commit
0bb61c96f1
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Rate
|
|||
}
|
||||
if (Vote::comment(Auth::userid(), $_GET['wid']) === 1) {
|
||||
$pos = true;
|
||||
$neg = true;
|
||||
$neg = false;
|
||||
} else if (Vote::comment(Auth::userid(), $_GET['wid']) === 0) {
|
||||
$pos = false;
|
||||
$neg = true;
|
||||
|
|
Loading…
Reference in a new issue