summaryrefslogtreecommitdiff
path: root/pages/wot/1.php
diff options
context:
space:
mode:
Diffstat (limited to '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 a45b5df..9e5d0f5 100644
--- a/pages/wot/1.php
+++ b/pages/wot/1.php
@@ -91,7 +91,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`
+ `locid`='".$locid."' and `users`.`id`=`notary`.`to` and `notary`.`deleted`=0
group by `notary`.`to` HAVING SUM(`points`) >= 100 order by `points` desc";
$list = mysql_query($query);
if(mysql_num_rows($list) > 0)