From: Jakub Vrana Date: Mon, 18 Oct 2010 00:15:13 +0000 (+0200) Subject: Don't download script with no tables X-Git-Tag: v3.0.1~3 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=09327efdaf0a735f4132bfad0da1943c098cf562;p=adminer.git Don't download script with no tables --- 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 + } }