1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Revert "Table-less drivers: Hide Create table link"

This reverts commit 841f76fb00.
This reverts commit 8fed1523ec.
This commit is contained in:
Jakub Vrana
2025-03-18 12:53:40 +01:00
parent 57e6c2651c
commit 336fdaf09c
2 changed files with 2 additions and 2 deletions

View File

@@ -1032,7 +1032,7 @@ class Adminer {
$actions[] = "<a href='" . h(ME) . "dump=" . urlencode(isset($_GET["table"]) ? $_GET["table"] : $_GET["select"]) . "' id='dump'" . bold(isset($_GET["dump"])) . ">" . lang('Export') . "</a>";
}
$in_db = $_GET["ns"] !== "" && !$missing && DB != "";
if ($in_db && support("table")) {
if ($in_db) {
$actions[] = '<a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create table') . "</a>";
}
echo ($actions ? "<p class='links'>\n" . implode("\n", $actions) . "\n" : "");