diff --git a/app/Controllers/Api/Images/Comments/Rate.php b/app/Controllers/Api/Images/Comments/Rate.php index 62a1631..3687ecc 100644 --- a/app/Controllers/Api/Images/Comments/Rate.php +++ b/app/Controllers/Api/Images/Comments/Rate.php @@ -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;