From 99d7b88341badfc8aed4cd0afc451e45b320e2e4 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 8 Feb 2018 10:34:43 +0100 Subject: [PATCH] Use tableName() in table.inc.php --- adminer/table.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adminer/table.inc.php b/adminer/table.inc.php index b980fe5d..86d20695 100644 --- a/adminer/table.inc.php +++ b/adminer/table.inc.php @@ -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"];