[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task 51/37051/2
authorNicole Cordes <typo3@cordes.co>
Fri, 20 Feb 2015 08:47:24 +0000 (09:47 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 20 Feb 2015 14:43:13 +0000 (15:43 +0100)
commit289da52f0b8c14ecd7258123584f8812eefdd835
tree694ee8648d094f279d4589274d3bda037d3c0e44
parent500df0ded1fec59fa5293d337fe57251fd796095
[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task

Due to the use of intval within array_walk a warning is triggered,
because array_walk calls the function with two parameters where intval
only expects one. This patch replaces the array_walk function with
DatabaseConnection::cleanIntArray.

Releases: master, 6.2
Resolves: #65189
Change-Id: Ic487f2da589e1610bd9ac7ec721d48a2735ef980
Reviewed-on: http://review.typo3.org/37051
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php