--- typo3/sysext/cms/tslib/class.tslib_menu.php 2007-04-02 23:41:35.000000000 +0200 +++ typo3/sysext/cms/tslib/class.tslib_menu.php 2007-04-03 23:33:26.000000000 +0200 @@ -2789,7 +2789,7 @@ } $codeLines.="\n".$var.$count."=".$menuName.".add(".$parent.",".$prev.",0,".t3lib_div::quoteJSvalue($title, true).",".t3lib_div::quoteJSvalue($GLOBALS['TSFE']->baseUrlWrap($url), true).",".t3lib_div::quoteJSvalue($target, true).");"; // If the active one should be chosen... - $active = ($levelConf['showActive'] && $data['uid'] == $this->tmpl->rootLine[$count]['uid']); + $active = ($levelConf['showActive'] && $data['uid'] == $this->tmpl->rootLine[$count+$this->conf['entryLevel']]['uid']); // If the first item should be shown $first = (!$c && $levelConf['showFirst']); // do it...