diff options
Diffstat (limited to 'includes/lib/general.php')
-rw-r--r-- | includes/lib/general.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/lib/general.php b/includes/lib/general.php index 85b132d..cb73c51 100644 --- a/includes/lib/general.php +++ b/includes/lib/general.php @@ -146,7 +146,7 @@ function runCommand($command, $input = "", &$output = null, &$errors = true) { $Result |= 5; } - $query = mysql_query('SELECT SUM(`points`) AS `points` FROM `notary` AS `n` WHERE `n`.`to` = \''.(int)intval($userID).'\' AND `n`.`expire` < now()'); + $query = mysql_query('SELECT SUM(`points`) AS `points` FROM `notary` AS `n` WHERE `n`.`to` = \''.(int)intval($userID).'\' AND `n`.`expire` < now() and `deleted` = 0'); $row = mysql_fetch_assoc($query); if ($row['points'] < 100) { $Result |= 3; |