diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 453e0c25..b433c49f 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -154,7 +154,9 @@ if ($_GET["ns"] !== "") { echo '

' . lang('Create event') . "\n"; } - page_footer(); - echo "\n"; - exit; // page_footer() already called + if ($tables_list) { + page_footer(); + echo "\n"; + exit; // page_footer() already called + } }