summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-10-29 09:10:59 +0100
committerBenny Baumann <BenBE@geshi.org>2014-10-29 09:10:59 +0100
commitcd8a00093b9aaa4de29c8e06796d5dcf56401bc8 (patch)
treebcc22acc76ba8e148fd86dce9ffa12fda1a6818e
parent52dfc5b3a270bc14f8ffa0710815695e447274b7 (diff)
parentb513efab245b17945e09ece0290f1d5f4fe13f85 (diff)
downloadcacert-devel-cd8a00093b9aaa4de29c8e06796d5dcf56401bc8.tar.gz
cacert-devel-cd8a00093b9aaa4de29c8e06796d5dcf56401bc8.tar.xz
cacert-devel-cd8a00093b9aaa4de29c8e06796d5dcf56401bc8.zip
Merge branch 'bug-1316' into testserver-stable
-rw-r--r--includes/notary.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index b95214c..63c426e 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -2327,7 +2327,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);