Project

General

Profile

Bug #75493 » ContentObjectRenderer.php.diff

Bug fix - Olaf Schmidt-Wischhöfer, 2016-04-11 11:13

View differences:

new/ContentObjectRenderer.php 2016-04-11 10:41:27.653478212 +0200
// if yes, execute them first - will make each function stdWrap aware
// so additional stdWrap calls within the functions can be removed, since the result will be the same
// exception: the recursive stdWrap function and cObject will still be using their own stdWrap call, since it modifies the content and not a property
if (count($conf[$functionProperties]) && !GeneralUtility::inList($stdWrapDisabledFunctionTypes, $functionType)) {
if (count($conf[$functionProperties]) && !GeneralUtility::inList($stdWrapDisabledFunctionTypes, $this->stdWrapOrder[$functionName])) {
if (array_intersect_key($this->stdWrapOrder, $conf[$functionProperties])) {
$conf[$functionName] = $this->stdWrap($conf[$functionName], $conf[$functionProperties]);
}
(1-1/2)