[TYPO3-core] Re(2): New hook in tslib_CONTENT. Was: CVSPatchrequest.Dmail boundaries
Martin Kutschker
Martin.Kutschker at blackbox.net
Fri Jan 27 11:21:19 CET 2006
"Jan-Erik Revsbech (MOC)" <jer at moccompany.com> writes on
Fri, 27 Jan 2006 11:14:34 +0100 (MET):
>
> >
> >
> > The hook functions are called in a loop, but each called
> > functions starts with the original parameters and overwrites
> > the result of prior functions.
> >
> > Either allow only one function (no hook array) or devise a
> > meaningful method of changing the value.
> >
> > I suggest you simply move the "'value' => $tmpValue" into the
> > loop. So each hook function can either append, prepend or
> > overwrite the value.
> >
> > Masi
>
> Agreed, attached is a patch (again from Thorsten Kahler) that fixes
> this.
Ah, a reference - how very un-TYPO3 ;-)
+1
Masi
More information about the TYPO3-team-core
mailing list