order database display by database name
This commit is contained in:
parent
2037ee4841
commit
a2a64c8ce5
|
@ -65,7 +65,7 @@ class m_mysql {
|
||||||
function get_dblist() {
|
function get_dblist() {
|
||||||
global $db,$err,$bro,$cuid;
|
global $db,$err,$bro,$cuid;
|
||||||
$err->log("mysql","get_dblist");
|
$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()) {
|
if (!$db->num_rows()) {
|
||||||
$err->raise("mysql",11);
|
$err->raise("mysql",11);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue