diff --git a/ChangeLog b/ChangeLog index 59f8fd62d..0d8a417a9 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,8 @@ $Source$ 2006-02-04 Marc Delisle * libraries/Config.class.php: bug #1409770 auto-detection and dirname on Windows, thanks to Alex - nixniemand - * libraries/mult_submits.inc.php: array to string conversion + * libraries/mult_submits.inc.php, server_databases.php: array to string + conversion 2006-01-31 Marc Delisle * db_details_structure.php: bug #1412058, damaged table reporting diff --git a/server_databases.php b/server_databases.php index a01a37e05..90924e28f 100644 --- a/server_databases.php +++ b/server_databases.php @@ -75,7 +75,7 @@ if (isset($drop_selected_dbs_x)) { } if ((!empty($drop_selected_dbs) || isset($query_type)) && ($is_superuser || $cfg['AllowUserDropDatabase'])) { - if ((! isset($selected_db) || ! strlen($selected_db)) && ! (isset($query_type) && !empty($selected))) { + if (! isset($selected_db) && ! isset($query_type)) { $message = $strNoDatabasesSelected; } else { $action = 'server_databases.php';