diff --git a/ChangeLog b/ChangeLog index e50be2fe5..5ba266789 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-02-10 Alexander M. Turek + * server_databases.php3: Ensured that the database list is built. 2003-02-10 Marc Delisle * lang/catalan: update, thanks to Xavier Navarro diff --git a/server_databases.php3 b/server_databases.php3 index 9a0b9f739..9124d8937 100644 --- a/server_databases.php3 +++ b/server_databases.php3 @@ -46,6 +46,14 @@ function PMA_dbCmp($a, $b) } // 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 */