Project

General

Profile

Bug #60754 ยป ContentObjectRenderer.patch

Witali Rott, 2014-10-06 19:47

View differences:

"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;
}
}
    (1-1/1)