Fix #1251
This commit is contained in:
parent
db6b3b0d3a
commit
29e396a413
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue