Project

General

Profile

Actions

Bug #16853

closed

t3lib_TStemplate->linkData typeOverride won't always work if override is '0'

Added by Richard Schmid almost 18 years ago. Updated over 17 years ago.

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #14634: Typolink to a page with certain type doesn't work if type is zeroClosedThorsten Kahler2005-04-05

Actions
Actions #1

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

Also available in: Atom PDF