diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index e551f673..791170f8 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -821,7 +821,7 @@ DROP PROCEDURE adminer_alter; : (isset($_GET["dump"]) ? '' : ""))); echo "
\n"; - if ($_GET["ns"] !== "" && !$missing) { + if ($_GET["ns"] !== "" && !$missing && DB != "") { echo '" . lang('Create new table') . "\n"; $tables = tables_list(); if (!$tables) {