Actions
Bug #16853
closedt3lib_TStemplate->linkData typeOverride won't always work if override is '0'
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2007-01-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
for implementation-reasons i use Types for representing Languages.
L=1 is Type 1 and L=0 is Type 0.
i got a setup like this:
page.config.forceTypeValue = 1
with a typolink on the page to switch to DEF-Lang:
navmenu.10.value = deutsch
navmenu.10.parameter.data = page:uid
navmenu.10.typolink.parameter.wrap = |,0
the navmenu-Link in L=1 will still point to Type 1 then.
i fixed this by changing Line 1365 of t3lib/class.t3lib_tstemplate.php from
if (!$typeOverride && intval(...
to
if (!isset($typeOverride) &&
would be cool, if you could confirm the fix and integrate it.
(issue imported from #M4775)
Updated by Oliver Hader almost 18 years ago
This bug is alread fixed. See bug-id 0000931 and the core-changeset:
http://svn.t3.digitaldistrict.de/cgi-bin/trac.cgi/changeset/6285
Actions