1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Use tableName() in table.inc.php

This commit is contained in:
Jakub Vrana
2018-02-08 10:34:43 +01:00
parent 2db1c74310
commit 99d7b88341

View File

@@ -5,8 +5,9 @@ if (!$fields) {
$error = error();
}
$table_status = table_status1($TABLE, true);
$name = $adminer->tableName($table_status);
page_header(($fields && is_view($table_status) ? $table_status['Engine'] == 'materialized view' ? lang('Materialized view') : lang('View') : lang('Table')) . ": " . h($TABLE), $error);
page_header(($fields && is_view($table_status) ? $table_status['Engine'] == 'materialized view' ? lang('Materialized view') : lang('View') : lang('Table')) . ": " . ($name != "" ? $name : h($TABLE)), $error);
$adminer->selectLinks($table_status);
$comment = $table_status["Comment"];