diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 4f8427b0a..2b7f738ac 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1269,7 +1269,10 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view echo $edit_link . $explain_link . $php_link . $refresh_link . $validate_link; echo ''; } - echo '
' . "\n"; + echo ''; + if ($GLOBALS['is_ajax_request'] === false) { + echo '
'; + } // If we are in an Ajax request, we have most probably been called in // PMA_ajaxResponse(). Hence, collect the buffer contents and return it