[BUGFIX] DBAL: Assure all optional query array parameters are set 86/52386/4
authorDan Untenzu <mail@pixelbrackets.de>
Fri, 7 Apr 2017 13:02:32 +0000 (15:02 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 18 May 2017 13:28:05 +0000 (15:28 +0200)
commite2c8ffe9da9d5992b9e7296df664c9080c550373
tree068871143fbfa96705627d7059e552b891285f8c
parent389e79c30b2f71b9ded0bc52e85db9d4a40c42a4
[BUGFIX] DBAL: Assure all optional query array parameters are set

The method »exec_SELECT_queryArray« uses an incoming array and
passes all possible query array keys on to the »exec_SELECTquery« method.
If not all keys were set, then »NULL« is passed. It should pass an
empty string however.

To avoid exceptions thrown due to NULL values, the method
now provides a fallback for all optional array keys.

Resolves: #80749
Releases: 7.6
Change-Id: I8cad33503f752062f771a53bade1188b6351d56d
Reviewed-on: https://review.typo3.org/52386
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/DatabaseConnection.php