From 66c10144f35f5b955e5aa698c8df909afdcb6002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tufan=20Bar=C4=B1=C5=9F=20YILDIRIM?= Date: Sun, 22 Apr 2012 05:50:54 -0400 Subject: [PATCH] Missing condition for confirmation message --- db_structure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_structure.php b/db_structure.php index 13d343908b..43fa4011f4 100644 --- a/db_structure.php +++ b/db_structure.php @@ -325,7 +325,7 @@ foreach ($tables as $keyname => $each_table) { . (($table_is_view || $each_table['ENGINE'] == null) ? 'VIEW' : 'TABLE') . ' ' . PMA_backquote($each_table['TABLE_NAME']); $drop_message = sprintf( - $table_is_view ? __('View %s has been dropped') : __('Table %s has been dropped'), + ($table_is_view || $each_table['ENGINE'] == null)? __('View %s has been dropped') : __('Table %s has been dropped'), str_replace(' ', ' ', htmlspecialchars($each_table['TABLE_NAME'])) ); }