[BUGFIX] PreparedStatement: count() must be an array or countable 12/54912/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 12:09:08 +0000 (13:09 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 12:40:58 +0000 (13:40 +0100)
commit92b586c6c1c425013ebb01fc3de513fb458d2bb2
treefe63675cad7d0b001d593aa8043a5fe1cc9e407b
parente0ff86ab6843c5f34b2b37691e316ef26f118e69
[BUGFIX] PreparedStatement: count() must be an array or countable

Sanitize a count() call in PreparedStatement (8.7, 7.6 only)
for PHP 7.2 compatibility.

Change-Id: I8d3cac3814093c7223c6be8f8ab8dc8c610d28e1
Resolves: #83196
Releases: 8.7, 7.6
Reviewed-on: https://review.typo3.org/54912
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/PreparedStatement.php