Fixed bug #3323060 - SQL parser breaks AJAX requests if query has unclosed quotes

This commit is contained in:
Rouslan Placella
2011-06-21 20:33:32 +01:00
parent 341dc1296f
commit c2dd99965d
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ phpMyAdmin - ChangeLog
- bug #3317293 [edit] Inline edit places HTML line breaks in edit area
- bug #3319466 [interface] Inline query edit does not escape special characters
- minor XSS (require a valid token)
- bug #3323060 [parser] SQL parser breaks AJAX requests if query has unclosed quotes
3.4.2.0 (2011-06-07)
- bug #3301249 [interface] Iconic table operations does not remove inline edit label

View File

@@ -360,7 +360,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
$sql_array['raw'] = $sql;
$pos = $pos_quote_separator;
}
if (class_exists('PMA_Message')) {
if (class_exists('PMA_Message') && $GLOBALS['is_ajax_request'] != true) {
PMA_Message::notice(__('Automatically appended backtick to the end of query!'))->display();
}
} else {