Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't display tables list on server pages

  • Loading branch information...
commit b783b9487d76a909b90a52fb1ceec4dc7f67b5c1 1 parent 9934370
Jakub Vrána authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  adminer/include/adminer.inc.php
2  adminer/include/adminer.inc.php
@@ -821,7 +821,7 @@ function navigation($missing) {
821 821 : (isset($_GET["dump"]) ? '<input type="hidden" name="dump" value="">'
822 822 : "")));
823 823 echo "</p></form>\n";
824   - if ($_GET["ns"] !== "" && !$missing) {
  824 + if ($_GET["ns"] !== "" && !$missing && DB != "") {
825 825 echo '<p><a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create new table') . "</a>\n";
826 826 $tables = tables_list();
827 827 if (!$tables) {

0 comments on commit b783b94

Please sign in to comment.
Something went wrong with that request. Please try again.