Issue Bug Closed

#18777Modified tslib_cObj::substituteMarkerArray() misses call parameter

Francois Suter 05/13/08, 12:41 updated 10/29/08, 19:00

Description

In TYPO3 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.

We should add the 5th parameter to tslib_cObj::substituteMarkerArray() and I propose to set its value to 1, because it makes sense to want to remove unused markers.

(issue imported from #M8385)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.