[TYPO3-core] RFC: Bug #17372: stdWrap .current and .setContentToCurrent do not return content

Jeff Segars jsegars at alumni.rice.edu
Thu Jan 27 23:36:22 CET 2011


Hey guys,

This is a SVN patch request.

Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=17372
Branch: trunk

Problem:
With the tslib_content refactoring in 4.5, we now have standalone 
methods for many pieces of stdWrap, which are chained together at the 
end of the main stdWrap method. Each standalone helper method takes the 
$content and $conf, processes it, and returns the $content.

stdWrap_setContentToCurrent() and stdWrap_setCurrent() do not return 
$content, however. This means that any stdWrap properties coming after 
these two no longer have content to operate on.

Solution:
return $content;

Thanks,
Jeff


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17372.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110127/ca7b810f/attachment.txt>


More information about the TYPO3-team-core mailing list