[BUGFIX] Fix condition for USERDEF2 in procesItemState 41/49241/3
authorStefan Bürk <stefan.buerk@impactmedia.de>
Thu, 28 Jul 2016 10:21:27 +0000 (12:21 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 28 Jul 2016 19:54:14 +0000 (21:54 +0200)
commitc38065f3beab21ab61c3e1a14530666183a6ffc4
tree439faa8a3820453df761ffbeb077abc02d021988
parent411ffa1dcf16e0a40b8ecf899f792af4397b148f
[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/49241
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php