[BUGFIX] PreparedStatement: count() must be an array or countable 11/54911/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 12:09:08 +0000 (13:09 +0100)
committerBenni Mack <benni@typo3.org>
Sun, 3 Dec 2017 12:38:58 +0000 (13:38 +0100)
commitda6fd1f547658a84c188d1099c839ba9d74a4c3c
treeaddb78bda540dd9e4b9df146dd121411dfedddc2
parent1b11b369bb972d8686e87bd2b2950aa43c6fd0bc
[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/54911
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Database/PreparedStatement.php