fix bug #1225315, wrong message for not dropping a DB

This commit is contained in:
Garvin Hicking
2005-06-22 12:33:05 +00:00
parent ab8050e750
commit b43f76e8d0
2 changed files with 7 additions and 1 deletions

View File

@@ -80,7 +80,11 @@ if ((!empty($drop_selected_dbs) || isset($query_type)) && ($is_superuser || $cfg
$submit_mult = 'drop_db' ;
$err_url = 'server_databases.php?' . PMA_generate_common_url();
require('./mult_submits.inc.php');
$message = sprintf($strDatabasesDropped, count($selected));
if ($mult_btn == $strYes) {
$message = sprintf($strDatabasesDropped, count($selected));
} else {
$message = sprintf($strDatabasesDropped, 0);
}
// we need to reload the database list now.
PMA_availableDatabases();
$reload = 1;