Bug #20367 ยป 10995.diff
typo3_src-4.2.6-work/t3lib/class.t3lib_tcemain.php 2009-04-27 18:30:05.000000000 +0100 | ||
---|---|---|
$fieldConf = $GLOBALS['TCA'][$table]['columns'][$field]['config'];
|
||
if ($registerDBList[$table][$id][$field] && $foreignTable = $fieldConf['foreign_table']) {
|
||
$newValueArray = array();
|
||
$origValueArray = explode(',', $value);
|
||
$origValueArray = is_array($value) ? $value : explode(',', $value);
|
||
// Update the uids of the copied records, but also take care about new records:
|
||
foreach ($origValueArray as $childId) {
|
||
$newValueArray[] = $this->autoVersionIdMap[$foreignTable][$childId]
|