mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
Display error for invalid table
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Adminer;
|
||||
$TABLE = $_GET["table"];
|
||||
$fields = fields($TABLE);
|
||||
if (!$fields) {
|
||||
$error = error();
|
||||
$error = error() ?: lang('No tables.');
|
||||
}
|
||||
$table_status = table_status1($TABLE);
|
||||
$name = $adminer->tableName($table_status);
|
||||
|
Reference in New Issue
Block a user