[BUGFIX] Missing relations when saving flexform fields 67/37767/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 17:54:13 +0000 (18:54 +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/37767
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Database/ReferenceIndex.php

index db510fc..c7f39b7 100644 (file)
@@ -602,7 +602,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;