Commit 23433045 authored by Andrew Vincent Pover's avatar Andrew Vincent Pover

Removed unnecessary comparison operator

parent 93ccd550
...@@ -28,7 +28,7 @@ if (isset($session->groups[$permission])) { ...@@ -28,7 +28,7 @@ if (isset($session->groups[$permission])) {
$why = $_POST['why']; $why = $_POST['why'];
if ( (abs($number) <= $maxbanana ) && $number <> 0 ){ if ( (abs($number) <= $maxbanana ) && $number ){
$DB->Query("INSERT INTO awards (username, score, whn, who, why) VALUES (?,?,NOW(),?,?)", array($who, $number, $session->username, $why)); $DB->Query("INSERT INTO awards (username, score, whn, who, why) VALUES (?,?,NOW(),?,?)", array($who, $number, $session->username, $why));
header("Location: " . $_SERVER['PHP_SELF']); header("Location: " . $_SERVER['PHP_SELF']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment