diff --git a/adminer/db.inc.php b/adminer/db.inc.php index cdee8f02..8b273fb3 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -165,7 +165,7 @@ if ($adminer->homepage()) { echo script("tableCheck();"); } - echo "
" . (support("table") ? "" . lang('Create table') . "\n" : ""); + echo "
" . lang('Create table') . "\n"; echo (support("view") ? "" . lang('Create view') . "\n" : ""); if (support("routine")) { diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index fa5e7e4c..5d68ca9d 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -1032,7 +1032,7 @@ class Adminer { $actions[] = "" . lang('Export') . ""; } $in_db = $_GET["ns"] !== "" && !$missing && DB != ""; - if ($in_db && support("table")) { + if ($in_db) { $actions[] = '" . lang('Create table') . ""; } echo ($actions ? "
\n" . implode("\n", $actions) . "\n" : "");