Project

General

Profile

Actions

Bug #19077

closed

doNotLinkIt check for menu generation not checked before link generation

Added by Daniel Poetzinger over 16 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions

Also available in: Atom PDF