[BUGFIX] Invalid closure in AbstractMenuContentObject 74/32874/5
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:41 +0000 (11:51 +0200)
commit6bc5dd2c4a70c52ad4b19ea16334018bf77be606
tree979eca87760278ada663ea9d288e2c15ac7cd75e
parentf41086b7369de69fb611914b95eebc4d70548cf0
[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/32874
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php