This commit is contained in:
Alan Garcia 2011-05-02 21:35:46 +00:00
parent db6b3b0d3a
commit 29e396a413
1 changed files with 4 additions and 5 deletions

View File

@ -401,7 +401,7 @@ class m_mysql {
function get_userslist() {
global $db,$err,$bro,$cuid;
$err->log("mysql","get_userslist");
$db->query("SELECT name FROM dbusers WHERE uid='$cuid';");
$db->query("SELECT name FROM dbusers WHERE uid='$cuid' ORDER BY name;");
if (!$db->num_rows()) {
$err->raise("mysql",19);
return false;
@ -565,7 +565,6 @@ class m_mysql {
return $r;
}
/* ------------------------------------------------------------ */
/**
* Set the access rights of user $user to database $dbn to be rights $rights