1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-11-01 23:14:58 +03:00

Fix preview sql for creating indexes

Signed-off-by: Jason <jason.daurus@gmail.com>
This commit is contained in:
Jason
2015-06-10 19:23:23 +08:00
parent 4ecdba9100
commit 5bb52eec61
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ if (isset($_REQUEST['do_save_data'])) {
PMA_Response::getInstance()->addJSON(
'sql_data',
PMA\Template::get('preview_sql.phtml')
PMA\Template::get('preview_sql')
->render(array(
'query_data' => $sql_query
))

View File

@@ -1,4 +1,4 @@
<div class="preview_sql">';
<div class="preview_sql">
<?php if (empty($query_data)): ?>
<?php echo __('No change'); ?>
<?php elseif (is_array($query_data)): ?>