[BUGFIX] Fix condition for USERDEF2 in procesItemState
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / ContentObject / Menu / AbstractMenuContentObject.php
index a269c43..7629968 100644 (file)
@@ -1497,7 +1497,7 @@ abstract class AbstractMenuContentObject
             foreach ($NOconf as $key => $val) {
                 if ($this->isItemState('USERDEF2', $key)) {
                     // If this is the first active, we must generate USERDEF2.
-                    if ($USERDEF2conf) {
+                    if ($USERDEF2conf === null) {
                         $USERDEF2conf = $this->tmpl->splitConfArray($this->mconf['USERDEF2.'], $splitCount);
                         // Prepare active rollOver settings, overriding normal active settings
                         if (!empty($this->mconf['USERDEF2RO'])) {