[TYPO3-core] RFC #8385: Bugfix: Modified tslib_cObj::substituteMarkerArray() misses call parameter
Oliver Hader
oliver at typo3.org
Tue May 13 13:21:18 CEST 2008
Hi Francois,
Francois Suter schrieb:
> 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.
+1 on reading
olly
--
Oliver Hader
TYPO3 4.3 Release Manager
More information about the TYPO3-team-core
mailing list