[BUGFIX] Fix condition for USERDEF2 in procesItemState 57/49257/2
authorStefan Bürk <stefan.buerk@impactmedia.de>
Thu, 28 Jul 2016 10:21:27 +0000 (12:21 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 29 Jul 2016 06:36:59 +0000 (08:36 +0200)
commitaa622da28144f6dc0fc237ae1ce91a64d6aa6990
tree86d689c4e678efa65907ecdaa4c5e4293176fe34
parent41e7f6cb34e6f15ed8f24d3004fbac1b3403091f
[BUGFIX] Fix condition for USERDEF2 in procesItemState

Fix a wrong condition in the procesItemState method for MENU handling
for the USERDEF2 itemstate, so it would not be ignored anymore.

Initializing the USERDEF2conf was never done, even if one or more
USERDEF2 item states was found, because the condition was checking
for NULL === TRUE, which will never be TRUE.

Resolves: #77284
Releases: master, 7.6
Change-Id: I16c1d21f03c9aa3565744cae90b7f0cb487ec009
Reviewed-on: https://review.typo3.org/49257
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php