#19077doNotLinkIt check for menu generation not checked before link generation
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 $this->I[‘linkHREF’] = $this->link($key,$this->I[‘val’][‘altTarget’],$this->mconf[‘forceTypeValue’]);
// 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.’]);
-
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.