Bug #82221 » typo3-82221-fal-references-flexform-worspaces.diff
typo3/sysext/core/Classes/DataHandling/DataHandler.php | ||
---|---|---|
// Extract parameters:
|
||
list($table, $uid, $field) = $pParams;
|
||
// If references are set for this field, set flag so they can be corrected later:
|
||
if ($this->isReferenceField($dsConf) && (string)$dataValue !== '') {
|
||
$vArray = $this->remapListedDBRecords_procDBRefs($dsConf, $dataValue, $uid, $table);
|
||
if (is_array($vArray)) {
|
||
$dataValue = implode(',', $vArray);
|
||
if ((string)$dataValue !== '') {
|
||
if ($this->isReferenceField($dsConf)) {
|
||
$vArray = $this->remapListedDBRecords_procDBRefs($dsConf, $dataValue, $uid, $table);
|
||
if (is_array($vArray)) {
|
||
$dataValue = implode(',', $vArray);
|
||
}
|
||
} elseif ($this->getInlineFieldType($dsConf) !== false) {
|
||
$this->remapListedDBRecords_procInline($dsConf, $dataValue, $uid, $table);
|
||
}
|
||
}
|
||
// Return
|