order database display by database name

This commit is contained in:
Antoine Beaupré 2009-03-30 20:00:03 +00:00
parent 2037ee4841
commit a2a64c8ce5
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class m_mysql {
function get_dblist() {
global $db,$err,$bro,$cuid;
$err->log("mysql","get_dblist");
$db->query("SELECT login,pass,db, bck_mode, bck_dir FROM db WHERE uid='$cuid';");
$db->query("SELECT login,pass,db, bck_mode, bck_dir FROM db WHERE uid='$cuid' ORDER BY db;");
if (!$db->num_rows()) {
$err->raise("mysql",11);
return false;