Bug #60754 ยป ContentObjectRenderer.patch
"b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php" | ||
---|---|---|
} else {
|
||
for ($a = $key; $a >= 0; $a--) {
|
||
$val = $rootLine[$a][$field];
|
||
if ($val) {
|
||
if($val==1) {
|
||
$files = (array)$GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('uid', 'sys_file_reference', ('tablenames=/'pages/' AND fieldname=/'' . $field . '/' AND uid_foreign=' . $rootLine[$a]['uid'] . ' AND deleted=0'));
|
||
return implode(',', $files);
|
||
}
|
||
if ($val>1) {
|
||
return $val;
|
||
}
|
||
}
|