]> git.joonet.de Git - adminer.git/commitdiff
Fix table links for existing but invalid views
authorJakub Vrana <jakub@vrana.cz>
Mon, 13 May 2013 17:12:13 +0000 (10:12 -0700)
committerJakub Vrana <jakub@vrana.cz>
Mon, 13 May 2013 17:12:13 +0000 (10:12 -0700)
adminer/table.inc.php

index 5d66f99b67d2a94aadd553a17dea0e079e108781..9033b5e9721127a79bfd9585a46afea149070f70 100644 (file)
@@ -4,7 +4,7 @@ $fields = fields($TABLE);
 if (!$fields) {
        $error = error();
 }
-$table_status = ($fields ? table_status($TABLE, true) : array());
+$table_status = table_status($TABLE, true);
 
 page_header(($fields && is_view($table_status) ? lang('View') : lang('Table')) . ": " . h($TABLE), $error);