From 958e597eb6be5f50784db4c91bafee5d495c6459 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 14 Jan 2014 06:13:04 -0500 Subject: [PATCH] bug #4230 "in use" displayed for all views in database print view Signed-off-by: Marc Delisle --- ChangeLog | 1 + db_printview.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2e20c1e0fd..41c7b06ccc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug #4224 Empty table names when a table is "inuse" - bug #4225 Partition maintenance broken - bug #4219 Table list (left panel) does not reload when table renamed +- bug #4230 "in use" displayed for all views in database print view 4.1.4.0 (2014-01-07) - bug #3840 (additional fix) When exporting to gzip format, the data is compressed 2 times diff --git a/db_printview.php b/db_printview.php index 92f70024b9..137bdaaf78 100644 --- a/db_printview.php +++ b/db_printview.php @@ -94,7 +94,9 @@ if ($num_tables == 0) { } // end if } else { echo ''; - echo __('in use'); + if (! PMA_Table::isView($db, $sts_data['TABLE_NAME'])) { + echo __('in use'); + } echo ''; } echo '';