Commit a2a64c8c authored by Antoine Beaupré's avatar Antoine Beaupré

order database display by database name

parent 2037ee48
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment