#16853t3lib_TStemplate->linkData typeOverride won't always work if override is '0'
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.