mirror of
https://github.com/claradex/nativegallery.git
synced 2024-12-22 08:30:56 +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