#14995JSMENU showActive not working with entryLevel
Description
The showActive for the JSMENU does not work when setting a Entry Level . The problem is in tslib/class.tslib_menu.php
Line 246 is the the Problem because it does not check for an entryLevel.
$active = ($levelConf[‘showActive’] && $data[‘uid’] == $this->tmpl->rootLine[$count][‘uid’]);
This can be fixed easyly using the following line
$active = ($levelConf[‘showActive’] && $data[‘uid’] == $this->tmpl->rootLine[$count+$this->conf[‘entryLevel’]][‘uid’]);
(issue imported from #M1508)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.