]> git.joonet.de Git - adminer.git/commitdiff
Link to view
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 16 Jun 2009 07:54:19 +0000 (07:54 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 16 Jun 2009 07:54:19 +0000 (07:54 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@709 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/select.inc.php

index 08d9be8e4e332b90c66343fe2664718e6c4e00bb..10e650742fb0bb4c39f0d499ece71b866d52b62b 100644 (file)
@@ -147,7 +147,7 @@ if (isset($rights["insert"])) {
        //! pass search values forth and back
        echo '<a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . '">' . lang('New item') . '</a> ';
 }
-echo '<a href="' . htmlspecialchars($SELF) . 'table=' . urlencode($_GET['select']) . '">' . lang('Table structure') . '</a>';
+echo '<a href="' . htmlspecialchars($SELF) . (isset($table_status["Engine"]) ? 'table=' : 'view=') . urlencode($_GET['select']) . '">' . lang('Table structure') . '</a>';
 echo "</p>\n";
 
 if (!$columns) {