Don't display tables list on server pages
This commit is contained in:
parent
99343701ab
commit
b783b9487d
|
@ -821,7 +821,7 @@ DROP PROCEDURE adminer_alter;
|
||||||
: (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) {
|
||||||
|
|
Loading…
Reference in a new issue