diff --git a/tbl_structure.php b/tbl_structure.php
index 42bd2411fb..cab54846a9 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -592,14 +592,16 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
if ($tbl_is_view) {
$create_view = PMA_DBI_get_definition($db, 'VIEW', $table);
-?>
- ';
- }
- echo __('Edit view');
-?>
- $create_view,
+ 'show_query' => '1',
+ )
+ ),
+ sprintf('
%1$s', __('Edit view'))
+ );
}
?>