From f2a909d694c7039d6a405e71674f325e2ddffc3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20D=C3=B6rre?= Date: Tue, 7 Apr 2015 22:32:43 +0200 Subject: bug-1058: fix points calculation in pages/account/55.php --- pages/account/55.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pages/account') diff --git a/pages/account/55.php b/pages/account/55.php index 24cc86d..1f01771 100644 --- a/pages/account/55.php +++ b/pages/account/55.php @@ -90,10 +90,11 @@ $query = ' SELECT `u`.`id`, `u`.`assurer`, - SUM(`points`) + SUM(`awarded`) FROM `users` AS `u`, `notary` AS `n` WHERE `u`.`id` = \''.intval($_SESSION['profile']['id']).'\' + AND `n`.`method` != 'Administrative Increase' AND `n`.`from` != `n`.`to` AND `n`.`to` = `u`.`id` AND `expire` < NOW() AND `n`.`deleted` = 0 -- cgit v1.2.1