[BUGFIX] Pass $field to BackendUtility::getFlexFormDS 71/21071/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 19 May 2013 14:21:37 +0000 (16:21 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 26 May 2013 16:12:32 +0000 (18:12 +0200)
This bugfix just passes an already existing argument
along to the hook method, making the $field variable
available there.

Change-Id: I5337490920a96a8db0af8f8ecc01e967dba0c9ca
Fixes: #39527
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21071
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/Form/FormEngine.php

index ed40b39..2ee74b5 100644 (file)
@@ -2556,7 +2556,8 @@ function ' . $evalData . '(value) {
         */
        public function getSingleField_typeFlex($table, $field, $row, &$PA) {
                // Data Structure:
-               $dataStructArray = \TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS($PA['fieldConf']['config'], $row, $table);
+               $dataStructArray = \TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS($PA['fieldConf']['config'], $row, $table, $field);
+
                $item = '';
                // Manipulate Flexform DS via TSConfig and group access lists
                if (is_array($dataStructArray)) {