Skip to content

Commit

Permalink
Merge branch 'QA_4_6'
Browse files Browse the repository at this point in the history
  • Loading branch information
devenbansod committed Oct 5, 2016
2 parents 48d599e + 0de5f60 commit ff91dc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -88,6 +88,7 @@ phpMyAdmin - ChangeLog
- issue #12615 Fixed regexp for matching browser versions
- issue #12569 Avoid showing import errors twice
- issue #12362 prefs_manage.php can leave an orphaned temporary file
- issue #12619 Unable to export csv when using union select

4.6.4 (2016-08-16)
- issue [security] Weaknesses with cookie encryption, see PMASA-2016-29
Expand Down
4 changes: 3 additions & 1 deletion tbl_export.php
Expand Up @@ -67,7 +67,9 @@
}

// Rebuilding the SELECT and FROM clauses.
if (count($parser->statements[0]->from) > 0) {
if (count($parser->statements[0]->from) > 0
&& count($parser->statements[0]->union) === 0
) {
$replaces = array(
array(
'FROM', 'FROM ' . SqlParser\Components\ExpressionArray::build(
Expand Down

0 comments on commit ff91dc9

Please sign in to comment.