mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +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) {
|
if (Vote::comment(Auth::userid(), $_GET['wid']) === 1) {
|
||||||
$pos = true;
|
$pos = true;
|
||||||
$neg = true;
|
$neg = false;
|
||||||
} else if (Vote::comment(Auth::userid(), $_GET['wid']) === 0) {
|
} else if (Vote::comment(Auth::userid(), $_GET['wid']) === 0) {
|
||||||
$pos = false;
|
$pos = false;
|
||||||
$neg = true;
|
$neg = true;
|
||||||
|
|
Loading…
Reference in a new issue