summaryrefslogtreecommitdiff
path: root/pages/wot
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2015-04-30 00:46:35 +0200
committerBenny Baumann <BenBE@geshi.org>2015-04-30 00:51:47 +0200
commit8e447dced0b5906a132d74870539fc639d3cc202 (patch)
tree1174d6003af8388bfabad315b95778925aee355a /pages/wot
parent64c93bfd528d95436b3081e76bf8e5174936c6aa (diff)
downloadcacert-devel-8e447dced0b5906a132d74870539fc639d3cc202.tar.gz
cacert-devel-8e447dced0b5906a132d74870539fc639d3cc202.tar.xz
cacert-devel-8e447dced0b5906a132d74870539fc639d3cc202.zip
bug 1060: the 'administrative increase'-fix
Diffstat (limited to 'pages/wot')
-rw-r--r--pages/wot/1.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/wot/1.php b/pages/wot/1.php
index 2c6afc6..df6b3c3 100644
--- a/pages/wot/1.php
+++ b/pages/wot/1.php
@@ -92,6 +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
+ AND `notary`.`method` != 'Administrative Increase' AND `notary`.`from` != `notary`.`to`
group by `notary`.`to` HAVING SUM(`awarded`) >= 100 order by `points` desc";
$list = mysql_query($query);
if(mysql_num_rows($list) > 0)