Project

General

Profile

Bug #16956 » 0004943.diff

Administrator Admin, 2007-02-09 08:34

View differences:

typo3_src_svn/t3lib/class.t3lib_befunc.php 2007-02-09 08:23:40.000000000 +0100
$altFields=t3lib_div::trimExplode(',',$TCA[$table]['ctrl']['label_alt'],1);
$tA=array();
$tA[]=$t;
foreach ($altFields as $fN) {
$t = $tA[] = trim(strip_tags($row[$fN]));
if (strcmp($t,'') && !$TCA[$table]['ctrl']['label_alt_force']) break;
if ($TCA[$table]['ctrl']['label_alt_force']) {
foreach ($altFields as $fN) {
$t = trim(strip_tags($row[$fN]));
if (!empty($t)) $tA[] = $t;
}
$t=implode(', ',$tA);
}
if ($TCA[$table]['ctrl']['label_alt_force']) $t=implode(', ',$tA);
}
}
(1-1/2)