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

Steffen Kamper steffen at sk-typo3.de
Tue May 13 13:08:34 CEST 2008


"Francois Suter" <fsuter at cobweb.ch> schrieb im Newsbeitrag 
news:mailman.1.1210675993.26948.typo3-team-core at lists.netfielders.de...
> 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

Hi,

+1 by reading. I also tend to set it by default to 1

vg Steffen 




More information about the TYPO3-team-core mailing list