diff --git a/server_databases.php b/server_databases.php
index 47037cc66..89571d107 100644
--- a/server_databases.php
+++ b/server_databases.php
@@ -342,11 +342,11 @@ if ($databases_count > 0) {
unset($column_order, $stat_name, $stat, $databases, $table_columns);
if ($is_superuser || $cfg['AllowUserDropDatabase']) {
- $common_url_query = PMA_generate_common_url() . '&sort_by=' . $sort_by . '&sort_order=' . $sort_order . '&dbstats=' . $dbstats;
+ $common_url_query = PMA_generate_common_url(array('sort_by' => $sort_by, 'sort_order' => $sort_order, 'dbstats' => $dbstats));
echo '
' . "\n"
- . '' . "\n"
+ . '' . "\n"
. ' ' . $strCheckAll . ' / ' . "\n"
- . '' . "\n"
+ . '' . "\n"
. ' ' . $strUncheckAll . '' . "\n"
. '' . $strWithChecked . '' . "\n";
PMA_buttonOrImage('drop_selected_dbs', 'mult_submit', 'drop_selected_dbs', $strDrop, 'b_deltbl.png');