From 3ed0ce926c037873462d79a01a9a5b382531a5d1 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 13 May 2013 10:12:13 -0700 Subject: [PATCH] Fix table links for existing but invalid views --- adminer/table.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/table.inc.php b/adminer/table.inc.php index 5d66f99b..9033b5e9 100644 --- a/adminer/table.inc.php +++ b/adminer/table.inc.php @@ -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);