1
0
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:
Jakub Vrana
2025-03-26 01:37:53 +01:00
parent cccc784da4
commit cd5ccddd22

View File

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