Bug #19077
closeddoNotLinkIt check for menu generation not checked before link generation
0%
Description
can cause issues with menu generation over diffrent rootlines.
But its also more a performance issue.
Index: class.tslib_menu.php
===================================================================
--- class.tslib_menu.php (revision 1202)
++ class.tslib_menu.php (revision 1218)@ -1598,8 +1598,9
@
// Make link tag
$this->I['val']['ATagParams'] = $this->WMcObj->getATagParams($this->I['val']);
$this->I['val']['additionalParams'] = $this->WMcObj->stdWrap($this->I['val']['additionalParams'],$this->I['val']['additionalParams.']);
- $this->I['linkHREF'] = $this->link($key,$this->I['val']['altTarget'],$this->mconf['forceTypeValue']); if (!$this>I['val']['doNotLinkIt']) {
+ $this->I['linkHREF'] = $this->link($key,$this->I['val']['altTarget'],$this->mconf['forceTypeValue']);
+ }
// Title attribute of links:
$titleAttrValue = $this->WMcObj->stdWrap($this->I['val']['ATagTitle'],$this->I['val']['ATagTitle.']).$this->I['accessKey']['alt'];
if (strlen($titleAttrValue)) {
(issue imported from #M8926)