Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 3646) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -3063,11 +3063,12 @@ * @param array The array of key/value pairs being marker/content values used in the substitution. For each element in this array the function will substitute a marker in the content stream with the content. * @param string A wrap value - [part 1] | [part 2] - for the markers before substitution * @param boolean If set, all marker string substitution is done with upper-case markers. + * @param boolean If set, all unused marker are deleted. * @return string The processed output stream * @see substituteMarker(), substituteMarkerInObject(), TEMPLATE() */ - function substituteMarkerArray($content,$markContentArray,$wrap='',$uppercase=0) { - return t3lib_parsehtml::substituteMarkerArray($content,$markContentArray,$wrap,$uppercase); + function substituteMarkerArray($content, $markContentArray, $wrap='', $uppercase=0, $deleteUnused=1) { + return t3lib_parsehtml::substituteMarkerArray($content, $markContentArray, $wrap, $uppercase, $deleteUnused); } /**