summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-04-07 22:47:19 +0200
committerBenny Baumann <BenBE@geshi.org>2015-04-29 20:37:35 +0200
commit64c93bfd528d95436b3081e76bf8e5174936c6aa (patch)
treed836b041f0fd63cf71179c786e4d3edd71f28092
parent16cb7044fa31e618f969d6104d976a7bc087e1be (diff)
downloadcacert-devel-64c93bfd528d95436b3081e76bf8e5174936c6aa.tar.gz
cacert-devel-64c93bfd528d95436b3081e76bf8e5174936c6aa.tar.xz
cacert-devel-64c93bfd528d95436b3081e76bf8e5174936c6aa.zip
bug-1060: new points calculation for pages/wot/1.php
-rw-r--r--pages/wot/1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/wot/1.php b/pages/wot/1.php
index 9047f27..2c6afc6 100644
--- a/pages/wot/1.php
+++ b/pages/wot/1.php
@@ -92,7 +92,7 @@
$query = "select *, `users`.`id` as `id` from `users`,`notary` where `listme`='1' and
`ccid`='".$ccid."' and `regid`='".$regid."' and
`locid`='".$locid."' and `users`.`id`=`notary`.`to` and `notary`.`deleted`=0
- group by `notary`.`to` HAVING SUM(`points`) >= 100 order by `points` desc";
+ group by `notary`.`to` HAVING SUM(`awarded`) >= 100 order by `points` desc";
$list = mysql_query($query);
if(mysql_num_rows($list) > 0)
{