fix bug #1225315, wrong message for not dropping a DB
This commit is contained in:
@@ -6,6 +6,8 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2005-06-22 Garvin Hicking
|
2005-06-22 Garvin Hicking
|
||||||
|
* server_databases.php: Bug #1225315, wrong message displayed
|
||||||
|
when no databases were dropped.
|
||||||
* tbl_properties.inc.php: Patch #1225452, JS error for
|
* tbl_properties.inc.php: Patch #1225452, JS error for
|
||||||
getting the value of a select field in certain browsers.
|
getting the value of a select field in certain browsers.
|
||||||
|
|
||||||
|
@@ -80,7 +80,11 @@ if ((!empty($drop_selected_dbs) || isset($query_type)) && ($is_superuser || $cfg
|
|||||||
$submit_mult = 'drop_db' ;
|
$submit_mult = 'drop_db' ;
|
||||||
$err_url = 'server_databases.php?' . PMA_generate_common_url();
|
$err_url = 'server_databases.php?' . PMA_generate_common_url();
|
||||||
require('./mult_submits.inc.php');
|
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.
|
// we need to reload the database list now.
|
||||||
PMA_availableDatabases();
|
PMA_availableDatabases();
|
||||||
$reload = 1;
|
$reload = 1;
|
||||||
|
Reference in New Issue
Block a user