Ensured that the database list is built.

This commit is contained in:
Alexander M. Turek
2003-02-10 18:26:29 +00:00
parent b874565a70
commit 21c0831516
2 changed files with 10 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-02-10 Alexander M. Turek <rabus@users.sourceforge.net>
* server_databases.php3: Ensured that the database list is built.
2003-02-10 Marc Delisle <lem9@users.sourceforge.net> 2003-02-10 Marc Delisle <lem9@users.sourceforge.net>
* lang/catalan: update, thanks to Xavier Navarro * lang/catalan: update, thanks to Xavier Navarro

View File

@@ -46,6 +46,14 @@ function PMA_dbCmp($a, $b)
} // end of the 'PMA_dbCmp()' function } // end of the 'PMA_dbCmp()' function
/**
* Gets the databases list - if it has not been built yet
*/
if ($server > 0 && empty($dblist)) {
PMA_availableDatabases();
}
/** /**
* Drops multiple databases * Drops multiple databases
*/ */