[TYPO3-core] RFC: fixing oddities in recursive stdWraps (bugs #4312 and #4871)

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Jan 28 16:57:10 CET 2007


Hi!

This is a patch request.

Branch: trunk and TYPO3_40

Problem: to invoke a recursive stdWrap in a stdWrap you have to set it a 
"boolean" value to make it work.

eg.
obj.stdWrap.stdWrap = 1
obj.stdWrap.stdWrap.wrap = [ | ]

This is not stated in TSref and is due a wrong check.

Solution: check for "stdWrap." and not "stdWrap"

Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tslib_content-stdWrap.diff
Type: text/x-diff
Size: 617 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070128/fa721381/attachment.bin 


More information about the TYPO3-team-core mailing list