[BUGFIX] Invalid closure in AbstractMenuContentObject 73/32873/3
authorFrancois Suter <francois@typo3.org>
Thu, 18 Sep 2014 20:09:15 +0000 (22:09 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 19 Sep 2014 09:51:23 +0000 (11:51 +0200)
commit4638547fadeccc8a8003f2a5486cbf08ec59ad3b
treee6aabd62f21dd00d36f644e632af4203f65300df
parent39796fbd2d93e2ea2b071ac77fa59e4bf0b34bb6
[BUGFIX] Invalid closure in AbstractMenuContentObject

Issue #58792 introduced a closure in AbstractMenuContentObject.php
which is not PHP 5.3 compatible. Since TYPO3 6.2 must still
support PHP 5.3, and master should be for now.
The closure is replaced by a simple loop.

Resolves: #61721
Releases: 6.2, master
Change-Id: Icc65bf8f8feec1bc62fcf83d8a2f464db3141c0d
Reviewed-on: http://review.typo3.org/32873
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php