typo3-82221-fal-references-flexform-worspaces.diff

Christian Weiske, 2019-06-18 11:49

Download (1.5 KB)

View differences:

typo3/sysext/core/Classes/DataHandling/DataHandler.php
6055 6055
        // Extract parameters:
6056 6056
        list($table, $uid, $field) = $pParams;
6057 6057
        // If references are set for this field, set flag so they can be corrected later:
6058
        if ($this->isReferenceField($dsConf) && (string)$dataValue !== '') {
6059
            $vArray = $this->remapListedDBRecords_procDBRefs($dsConf, $dataValue, $uid, $table);
6060
            if (is_array($vArray)) {
6061
                $dataValue = implode(',', $vArray);
6058
        if ((string)$dataValue !== '') {
6059
            if ($this->isReferenceField($dsConf)) {
6060
                $vArray = $this->remapListedDBRecords_procDBRefs($dsConf, $dataValue, $uid, $table);
6061
                if (is_array($vArray)) {
6062
                    $dataValue = implode(',', $vArray);
6063
                }
6064
            } elseif ($this->getInlineFieldType($dsConf) !== false) {
6065
                $this->remapListedDBRecords_procInline($dsConf, $dataValue, $uid, $table);
6062 6066
            }
6063 6067
        }
6064 6068
        // Return