Bug #24209 » 16573_4-4_v2.diff
typo3/sysext/cms/tslib/class.tslib_menu.php (working copy) | ||
---|---|---|
if ($submenu->start($this->tmpl, $this->sys_page, $uid, $this->conf, $this->menuNumber+1, $objSuffix)) {
|
||
$submenu->makeMenu();
|
||
// Memorize the current menu item count
|
||
$tempCountMenuObj = $GLOBALS['TSFE']->register['count_MENUOBJ'];
|
||
// Reset the menu item count for the submenu
|
||
$GLOBALS['TSFE']->register['count_MENUOBJ'] = 0;
|
||
$content = $submenu->writeMenu();
|
||
// Restore the item count now that the submenu has been handled
|
||
$GLOBALS['TSFE']->register['count_MENUOBJ'] = $tempCountMenuObj;
|
||
$GLOBALS['TSFE']->register['count_menuItems'] = count($this->menuArr);
|
||
return $content;
|
||
}
|
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
}
|
||
$GLOBALS['TSFE']->register['count_HMENU']++;
|
||
$GLOBALS['TSFE']->register['count_HMENU_MENUOBJ']=0;
|
||
$GLOBALS['TSFE']->register['count_MENUOBJ'] = 0;
|
||
$GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid']=array();
|
||
$GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMparentId']=array();
|
||