diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php
index 7bc6c30a..1c530ab6 100644
--- a/adminer/dump.inc.php
+++ b/adminer/dump.inc.php
@@ -146,7 +146,7 @@ echo "
" . lang('Output') . " | | " . lang('Format') . " | " . $adminer->dumpFormat(0) . "\n";
echo " |
---|
" . lang('Database') . " | " . html_select('db_style', $db_style, (strlen(DB) ? '' : 'CREATE'));
if ($connection->server_info >= 5) {
- $checked = strlen($_GET["dump"]);
+ $checked = !strlen($_GET["dump"]);
echo checkbox("routines", 1, $checked, lang('Routines'));
if ($connection->server_info >= 5.1) {
echo checkbox("events", 1, $checked, lang('Events'));
|
---|