1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Don't print new link on view

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1136 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-09-23 15:33:54 +00:00
parent df0c4bba95
commit 1add172a0b

View File

@@ -5,9 +5,10 @@ if (!$result) {
$error = h($connection->error);
}
$table_status = ($result ? table_status($TABLE) : array());
$is_view = !isset($table_status["Rows"]);
page_header(($result && $is_view ? lang('View') : lang('Table')) . ": " . h($TABLE), $error);
$adminer->selectLinks($table_status);
$adminer->selectLinks($table_status, $is_view ? null : "");
if ($result) {
echo "<table cellspacing='0'>\n";