[TYPO3-core] RFC #8385: Bugfix: Modified tslib_cObj::substituteMarkerArray() misses call parameter

Francois Suter fsuter at cobweb.ch
Tue May 13 12:52:57 CEST 2008


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=8385

Branches:
4-2 and Trunk

Problem:
In 4.2 tslib_cObj::substituteMarkerArray() has become a simple wrapper 
for the newly introduced method 
t3lib_parsehtml::substituteMarkerArray(). This new method can be called 
with 5 parameters, the last one of which makes it possible to remove 
unreplaced markers.

The wrapper tslib_cObj::substituteMarkerArray() has only 4 parameters 
and thus cannot activate the replacement of unused markers, because the 
default in t3lib_parsehtml::substituteMarkerArray() is 0.

Solution:
Add the 5th parameter to tslib_cObj::substituteMarkerArray()

Notes:
I propose to set the value of this 5th parameter to 1, because IMO it 
makes sense to want to remove unused markers by default.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug8385.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080513/635aba07/attachment.txt 


More information about the TYPO3-team-core mailing list