[BUGFIX] Pass $field to BackendUtility::getFlexFormDS 74/21074/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:13:34 +0000 (18:13 +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/21074
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
t3lib/class.t3lib_tceforms.php

index d6c5c1b..4a273f8 100644 (file)
@@ -2490,7 +2490,7 @@ class t3lib_TCEforms {
        function getSingleField_typeFlex($table, $field, $row, &$PA) {
 
                        // Data Structure:
-               $dataStructArray = t3lib_BEfunc::getFlexFormDS($PA['fieldConf']['config'], $row, $table);
+               $dataStructArray = t3lib_BEfunc::getFlexFormDS($PA['fieldConf']['config'], $row, $table, $field);
                $item = '';
 
                        // Manipulate Flexform DS via TSConfig and group access lists