You've already forked phpmyadmin
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:
@@ -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
|
||||
))
|
||||
|
||||
@@ -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)): ?>
|
||||
|
||||
Reference in New Issue
Block a user