X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=inc%2Fsmarty%2Fnode_methodz%2Ffunction.get_waiting_users.php;fp=inc%2Fsmarty%2Fnode_methodz%2Ffunction.get_waiting_users.php;h=052ef3bc4904f9d2f0fcdd8c835527c7de193d97;hb=b42b2bf946332ad8544d53f610be9cb05e80bf56;hp=a14f78a1b210500476b78ebf46c93d4f34c1e5b4;hpb=e586807dafc64c3fe152ab518599e6cf3f0f84e1;p=mirrors%2FKyberia-bloodline.git diff --git a/inc/smarty/node_methodz/function.get_waiting_users.php b/inc/smarty/node_methodz/function.get_waiting_users.php index a14f78a..052ef3b 100644 --- a/inc/smarty/node_methodz/function.get_waiting_users.php +++ b/inc/smarty/node_methodz/function.get_waiting_users.php @@ -3,7 +3,7 @@ function smarty_function_get_waiting_users($params,&$smarty) { global $db, $error, $node; $node_id=$node['node_id']; - $q="select node_content,users.* from users left join node_content on node_content.node_id=users.user_id where user_status='waiting'"; + $q="select node_content,users.* from users where user_status='waiting'"; if ($_SESSION['cube_vector']) $q.=" and cube_vector='".$_SESSION['cube_vector']."'"; else $q.=" and cube_vector IS NULL"; $result=$db->query($q);