Project

General

Profile

Bug #14955 » tsconfig_vs_useColumnsForDefaultValues.diff

Administrator Admin, 2008-08-25 18:47

View differences:

t3lib/class.t3lib_transferdata.php (working copy)
// Gets the list of fields to copy from the previous record.
$fArr=t3lib_div::trimExplode(',',$TCA[$table]['ctrl']['useColumnsForDefaultValues'],1);
while(list(,$theF)=each($fArr)) {
if (isset($TCA[$table]['columns'][$theF])) {
if (isset($TCA[$table]['columns'][$theF]) && !isset($newRow[$theF])) {
$newRow[$theF]=$row[$theF];
}
}
(2-2/2)