From 8bbec710bbea4cf8406e8516464dc937f815942f Mon Sep 17 00:00:00 2001 From: Philipp Dunkel Date: Thu, 29 Oct 2009 23:09:39 +0000 Subject: [PATCH] Performance speedup --- pages/wot/1.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/wot/1.php b/pages/wot/1.php index 8eaab6b..c42bbae 100644 --- a/pages/wot/1.php +++ b/pages/wot/1.php @@ -87,7 +87,8 @@ } elseif($locid > 0){ echo "\n\n\n\n\n\n\n
\n"; } - + if($locid>0 || $regid>0 || $ccid>0) + { $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` @@ -110,7 +111,9 @@ - +