Project

General

Profile

Bug #19613 » 9795.diff

Administrator Admin, 2008-11-14 12:04

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
} elseif (isset($PA['fieldTSConfig']['altLabels.'][$evalValue])) {
$tvP[1] = rawurlencode($this->sL($PA['fieldTSConfig']['altLabels.'][$evalValue]));
}
if ($tvP[1] == '') {
// Case: flexform, default values supplied, no label provided (bug #9795)
foreach ($selItems as $selItem) {
if ($selItem[1] == $tvP[0]) {
$tvP[1] = $selItem[0];
break;
}
}
}
$itemArray[$tk] = implode('|',$tvP);
}
$itemsToSelect = '';
(2-2/2)