mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Always return array from table_status()
This commit is contained in:
@@ -17,8 +17,8 @@ $orig_fields = array();
|
||||
$table_status = array();
|
||||
if ($TABLE != "") {
|
||||
$orig_fields = fields($TABLE);
|
||||
$table_status = table_status($TABLE);
|
||||
if (!$table_status) {
|
||||
$table_status = table_status1($TABLE);
|
||||
if (count($table_status) < 2) { // there's only the Name field
|
||||
$error = lang('No tables.');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user