diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 12df8c50..63f3ae89 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -69,13 +69,15 @@ class Adminer { */ function head() { global $jush; - ?> + if (support("sql")) { + ?> " . lang('No tables.') . "\n"; } else { $this->tablesPrint($tables); - $links = array(); - foreach ($tables as $table => $type) { - $links[] = preg_quote($table, '/'); + if (support("sql")) { + $links = array(); + foreach ($tables as $table => $type) { + $links[] = preg_quote($table, '/'); + } + echo "\n"; } - echo "\n"; } } }