bug 1042: use the correct points function for sending assurance mails
authorFelix Dörre <felix@dogcraft.de>
Tue, 2 Jun 2015 20:20:40 +0000 (22:20 +0200)
committerFelix Dörre <felix@dogcraft.de>
Tue, 2 Jun 2015 20:20:40 +0000 (22:20 +0200)
www/wot.php

index 33a780c..8c50168 100644 (file)
@@ -342,7 +342,7 @@ function send_reminder()
                if($awarded < 0)
                        $awarded = 0;
 
-               $drow_points = get_received_total_points(intval($_SESSION['_config']['notarise']['id']));
+               $drow_points = get_received_assurance_points(intval($_SESSION['_config']['notarise']['id']));
 
                if(mysql_real_escape_string(stripslashes($_POST['date'])) == "")
                        $_POST['date'] = date("Y-m-d H:i:s");