X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.get_allusers.php;h=c9faed8244e3153d3a54fbf217f51e7b731f79ee;hb=45fe16f2bfbe95069118ca82222113023754db0e;hp=c9af95ff3a778dcc1430bbfc3ec7bcb0f2203981;hpb=49451e57c321e37cad994dd263a852d9a859686e;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/smarty/node_methodz/function.get_allusers.php b/wwwroot/inc/smarty/node_methodz/function.get_allusers.php index c9af95f..c9faed8 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_allusers.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_allusers.php @@ -3,7 +3,9 @@ global $db,$node; $q="select user_id, login from users where hash='' order by login "; $set=$db->query($q); - $users[]=$set->getRecord(); - $smarty->assign('get_allusers',$users); + while ($set->next()) { + $users[]=$set->getRecord(); + $smarty->assign('get_allusers',$users); + } } ?>