Feature #52495 » patch_proposal.diff
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php | ||
---|---|---|
public function cObjGet($setup, $addKey = '') {
|
||
if (is_array($setup)) {
|
||
$sKeyArray = \TYPO3\CMS\Core\TypoScript\TemplateService::sortedKeyList($setup);
|
||
$content = '';
|
||
$contentArray = array();
|
||
foreach ($sKeyArray as $theKey) {
|
||
$theValue = $setup[$theKey];
|
||
if (intval($theKey) && !strstr($theKey, '.')) {
|
||
$conf = $setup[$theKey . '.'];
|
||
$content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
|
||
$content = $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
|
||
if ($content !== '') {
|
||
$contentArray[] = $content;
|
||
}
|
||
unset($content);
|
||
}
|
||
}
|
||
return $content;
|
||
$glue = isset($setup['glue.']) ? $this->stdWrap($setup['glue'], $setup['glue.']) : $setup['glue'];
|
||
return implode($glue, $contentArray);
|
||
}
|
||
}
|
||