fix button

This commit is contained in:
themohooks 2024-10-07 17:49:23 +03:00
parent 78ace421d5
commit 0bb61c96f1

View file

@ -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;