1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 09:04:02 +02:00

Don't display tables list on server pages

This commit is contained in:
Jakub Vrana
2012-08-08 08:41:52 -07:00
parent 99343701ab
commit b783b9487d

View File

@@ -821,7 +821,7 @@ DROP PROCEDURE adminer_alter;
: (isset($_GET["dump"]) ? '<input type="hidden" name="dump" value="">'
: "")));
echo "</p></form>\n";
if ($_GET["ns"] !== "" && !$missing) {
if ($_GET["ns"] !== "" && !$missing && DB != "") {
echo '<p><a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create new table') . "</a>\n";
$tables = tables_list();
if (!$tables) {