[TYPO3-core] New hook in tslib_CONTENT. Was: CVS Patchrequest.Dmail boundaries

Jan-Erik Revsbech (MOC) jer at moccompany.com
Fri Jan 27 11:14:34 CET 2006


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

/Jan-Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib_content-dmailerHook3.diff
Type: application/octet-stream
Size: 2660 bytes
Desc: tslib_content-dmailerHook3.diff
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060127/c646b69c/attachment.obj 


More information about the TYPO3-team-core mailing list