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