array to string conversion

This commit is contained in:
Marc Delisle
2006-02-04 16:09:40 +00:00
parent 8032bb0a2f
commit 617c2b4a03
2 changed files with 3 additions and 2 deletions

View File

@@ -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';