1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Fix table links for existing but invalid views

This commit is contained in:
Jakub Vrana
2013-05-13 10:12:13 -07:00
parent 65fae98558
commit 3ed0ce926c

View 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);