Skip to content

Commit

Permalink
Don't display tables list on server pages
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Aug 8, 2012
1 parent 9934370 commit b783b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/include/adminer.inc.php
Expand Up @@ -821,7 +821,7 @@ function navigation($missing) {
: (isset($_GET["dump"]) ? '<input type="hidden" name="dump" value="">' : (isset($_GET["dump"]) ? '<input type="hidden" name="dump" value="">'
: ""))); : "")));
echo "</p></form>\n"; 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"; echo '<p><a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create new table') . "</a>\n";
$tables = tables_list(); $tables = tables_list();
if (!$tables) { if (!$tables) {
Expand Down

0 comments on commit b783b94

Please sign in to comment.