summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-05-12 22:32:42 +0200
committerFelix Dörre <felix@dogcraft.de>2015-05-12 22:45:23 +0200
commita17af2d6b7f9bd5d37e9c48518aad9a14ac256ca (patch)
tree2917736661bcb66621053ad9be20c8c3b90e3608 /www
parentb47e4b367e4ca0e86cbb314bd51ab82872c50f92 (diff)
downloadcacert-devel-a17af2d6b7f9bd5d37e9c48518aad9a14ac256ca.tar.gz
cacert-devel-a17af2d6b7f9bd5d37e9c48518aad9a14ac256ca.tar.xz
cacert-devel-a17af2d6b7f9bd5d37e9c48518aad9a14ac256ca.zip
bug 1050: use the new function to correct points after adding a new assurance.
Diffstat (limited to 'www')
-rw-r--r--www/wot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/wot.php b/www/wot.php
index 5eb52e6..33a780c 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -378,9 +378,10 @@ function send_reminder()
$query .= ",\n`method`='TTP-Assisted'";
}
mysql_query($query);
- fix_assurer_flag($_SESSION['_config']['notarise']['id']);
include_once("../includes/notary.inc.php");
+ recalculate_old_assurance_points($_SESSION['_config']['notarise']['id']);
+ fix_assurer_flag($_SESSION['_config']['notarise']['id']);
if($_SESSION['profile']['points'] < 150)
{
$addpoints = 0;