GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getUserSubmissionChildre fix
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
smarty
/
node_methodz
/
function.get_allusers.php
diff --git
a/wwwroot/inc/smarty/node_methodz/function.get_allusers.php
b/wwwroot/inc/smarty/node_methodz/function.get_allusers.php
index c9af95ff3a778dcc1430bbfc3ec7bcb0f2203981..c9faed8244e3153d3a54fbf217f51e7b731f79ee 100644
(file)
--- 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);
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);
+ }
}
?>
}
?>
This page took
0.130476 seconds
and
4
git commands to generate.