[BUGFIX] Missing relations when saving flexform fields 96/37796/2
authorStephan Großberndt <stephan@grossberndt.de>
Wed, 11 Mar 2015 23:21:17 +0000 (00:21 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 12 Mar 2015 19:44:14 +0000 (20:44 +0100)
This patch adds the missing parameter $table to the call of
getRelations_procDB when analyzing flexform fields.

Resolves: #65126
Releases: master, 6.2
Change-Id: Ie4ad34973882da8501881cff3146858581a05350
Reviewed-on: http://review.typo3.org/37796
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Database/ReferenceIndex.php

index 08ff666..07814bd 100644 (file)
@@ -623,7 +623,7 @@ class ReferenceIndex {
                        }
                }
                // Add DB:
-               $resultsFromDatabase = $this->getRelations_procDB($dataValue, $dsConf, $uid, $field);
+               $resultsFromDatabase = $this->getRelations_procDB($dataValue, $dsConf, $uid, $table, $field);
                if (!empty($resultsFromDatabase)) {
                        // Create an entry for the field with all DB relations:
                        $this->temp_flexRelations['db'][$structurePath] = $resultsFromDatabase;