Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't display tables list on server pages

  • Loading branch information...
commit b783b9487d76a909b90a52fb1ceec4dc7f67b5c1 1 parent 9934370
@vrana authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  adminer/include/adminer.inc.php
View
2  adminer/include/adminer.inc.php
@@ -821,7 +821,7 @@ function navigation($missing) {
: (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) {
Please sign in to comment.
Something went wrong with that request. Please try again.