[TYPO3-core] RFC #8637: Bug: t3lib_parsehtml::substituteMarkerArray() deletes too much if wrap is not set

Benjamin Mack benni at typo3.org
Sun Jun 8 12:36:06 CEST 2008


Hey Francois,

full ack. This has to go in there, as this function should only work if 
there is a $wrap.

We could do

if ($deleteUnused && !empty(trim($wrap))) ...

? So deleteUnused works only if there are wraps. otherwise this doesn't 
make sense and we don't need to set any defaults in the middle of a 
function anyway... right?

Thanks for looking into it!

-- 
greetings,
benni.
-SDG-


More information about the TYPO3-team-core mailing list