]> git.joonet.de Git - adminer.git/commitdiff
Use tableName() in table.inc.php
authorJakub Vrana <jakub@vrana.cz>
Thu, 8 Feb 2018 09:34:43 +0000 (10:34 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 8 Feb 2018 09:34:43 +0000 (10:34 +0100)
adminer/table.inc.php

index b980fe5d5d9163dd9c1e5d909c8994592ddfaccd..86d20695760a4354a0d5d1cbfcb6934c56ad8141 100644 (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"];