[BUGFIX] Incorrect usages of string as array in QueryGenerator 44/51944/2
authorChrister Vindberg <cvi@systime.dk>
Wed, 1 Mar 2017 11:46:47 +0000 (12:46 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 4 Mar 2017 19:03:31 +0000 (20:03 +0100)
commit98d93c7053cd1a7ebec94680b9de098d53da2bf6
tree6026f930af18604896757da9a1b1126118710ce3
parentd6bc30125b2c20ddbd2538aa34d7071d12745a07
[BUGFIX] Incorrect usages of string as array in QueryGenerator

Changed so an empty $queryConfig is always an array.

$queryConfig is declared as an array but can be used as an array or
string, therefore in PHP 7.1 an exception was thrown.

Resolves: #80075
Releases: master, 7.6
Change-Id: Ifd8b89e0ccce4f93a6c7bee5afe10bf52fa73634
Reviewed-on: https://review.typo3.org/51944
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/core/Classes/Database/QueryGenerator.php