[BUGFIX] Missing relations when saving flexform fields
[Packages/TYPO3.CMS.git] / 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;