diff options
Diffstat (limited to 'includes/notary.inc.php')
-rw-r--r-- | includes/notary.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php index 32167f9..b6565b9 100644 --- a/includes/notary.inc.php +++ b/includes/notary.inc.php @@ -2160,7 +2160,7 @@ function revoke_assurance($assuranceid, $toid){ $maxToAward = max(100 - $points, 0); $newpoints = min($row['awarded'], $maxToAward); - $points += $row['points']; + $points += $row['awarded']; $query = "update `notary` set `points` = '". (int)$newpoints ."' where `id`='" . (int)$row['id'] . "' LIMIT 1"; mysql_query($query); |