diff --git a/js/sql.js b/js/sql.js index 28c7287e5..7a70af384 100644 --- a/js/sql.js +++ b/js/sql.js @@ -930,10 +930,9 @@ $(document).ready(function() { } // remove possible previous feedback message $('#result_query').remove(); - if (typeof data.result_query != 'undefined') { + if (typeof data.sql_query != 'undefined') { // display feedback - $('#sqlqueryresults').prepend('
'); - $('#result_query').prepend(data.result_query); + $('#sqlqueryresults').prepend(data.sql_query); } PMA_unInlineEditRow($del_hide, $chg_submit, $this_td, $input_siblings, data, disp_mode); } else {