[!!!][BUGFIX] Avoid to call stdWrap twice
Using the recursive stdWrap will work on the stdWrap twice, although the output is created only once. Fix this by preventing the recursive call to stdWrap() if the current function name is "stdWrap" as this will trigger a call to stdWrap_stdWrap() later on anyway. This will change rendering if LOAD_REGISTER or something similar is used in a recursive stdWrap context. Resolves: #60135 Releases: 6.3 Change-Id: I728f637b4e34f26b9cf6951f04667c8195638b3d Reviewed-on: http://review.typo3.org/32466 Reviewed-by:Helmut Hummel <helmut.hummel@typo3.org> Tested-by:
Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by:
Stefan Froemken <froemken@gmail.com> Tested-by:
Stefan Froemken <froemken@gmail.com> Tested-by:
Markus Klein <klein.t3@reelworx.at>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Breaking-60135-RecursiveStdWrapChange.rst 47 additions, 0 deletions...hangelog/master/Breaking-60135-RecursiveStdWrapChange.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 2 additions, 2 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php 45 additions, 0 deletions...nd/Tests/Unit/ContentObject/ContentObjectRendererTest.php
Please register or sign in to comment