[!!!][BUGFIX] Fix boolean noQuote option in DatabaseConnection::fullQuoteArray 17/46017/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 16 Jan 2016 15:15:52 +0000 (16:15 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 16 Jan 2016 16:00:24 +0000 (17:00 +0100)
commit31009f1eac7e9e90278ff99658f21b34f5ce43d9
treefab2e366cdfebd316e949759b9332927603d418b
parent9bc8fe70acb219f40c13baeff6226c74d8f91aec
[!!!][BUGFIX] Fix boolean noQuote option in DatabaseConnection::fullQuoteArray

The api for fullQuoteArray allows the parameter $noQuote to be boolean.
This patch corrects the handling of the case when true is being passed
as value for $noQuote.

Resolves: #71458
Releases: master
Change-Id: I332934a471b1e8d7310272bcc2164a375104cb07
Reviewed-on: https://review.typo3.org/46017
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-71458-FullQuoteArrayCantHandleBooleanValuesForNoQuote.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Database/DatabaseConnectionTest.php