[BUGFIX] DBAL admin_query() check array before accessing it 06/33006/2
authorMarkus Klein <klein.t3@reelworx.at>
Sun, 28 Sep 2014 13:59:09 +0000 (15:59 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 28 Sep 2014 20:46:12 +0000 (22:46 +0200)
commit14bb5da7a6478cfa9b65df75df736368986d2431
treeef9cb2934feeb51206cfab551a999578f14e0115
parent23d324006942fe7500d76a12c727beca35fe99e7
[BUGFIX] DBAL admin_query() check array before accessing it

Move the $parsedQuery array access after the is_array() check in
DatabaseConnection::admin_query() to avoid PHP warnings.

Releases: master, 6.2
Resolves: #61929
Change-Id: I641d1e0d1dbe0001bd7082fbed1ce5ddb35172f8
Reviewed-on: http://review.typo3.org/33006
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/dbal/Classes/Database/DatabaseConnection.php