[BUGFIX] Flexform field is available but not passed to sub-function calls
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Database / ReferenceIndex.php
index 53f5fa9..8d7329a 100644 (file)
@@ -370,7 +370,7 @@ class ReferenceIndex {
                                if ($conf['type'] == 'flex') {
                                        // Get current value array:
                                        // NOTICE: failure to resolve Data Structures can lead to integrity problems with the reference index. Please look up the note in the JavaDoc documentation for the function \TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS()
-                                       $dataStructArray = \TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS($conf, $row, $table, '', $this->WSOL);
+                                       $dataStructArray = \TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS($conf, $row, $table, $field, $this->WSOL);
                                        $currentValueArray = \TYPO3\CMS\Core\Utility\GeneralUtility::xml2array($value);
                                        // Traversing the XML structure, processing files:
                                        if (is_array($currentValueArray)) {