[BUGFIX] Pass $fieldName when processing FlexForm DS in t3lib_transferData
authorClaus Due <claus@wildside.dk>
Sat, 4 Aug 2012 15:57:52 +0000 (17:57 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 5 Aug 2012 18:51:25 +0000 (20:51 +0200)
This change simply adds $fieldName to the "real" call to process
the FlexForm's DS. The argument is already supported on the target
class and the value of the argument for the dispatching method in
t3lib_transferData already is properly filled with the correct name.

Change-Id: Ief2f07bca064ae4eed248bb058b4884bcdc7ed96
Releases: 4.5, 4.6, 4.7, 6.0
Fixes: #39527
Reviewed-on: http://review.typo3.org/13473
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
t3lib/class.t3lib_transferdata.php

index 537b259..3216f71 100644 (file)
@@ -482,7 +482,7 @@ class t3lib_transferData {
                if (is_array($currentValueArray)) {
 
                                // Get current value array:
-                       $dataStructArray = t3lib_BEfunc::getFlexFormDS($fieldConfig['config'], $row, $table);
+                       $dataStructArray = t3lib_BEfunc::getFlexFormDS($fieldConfig['config'], $row, $table, $field);
 
                                // Manipulate Flexform DS via TSConfig and group access lists
                        if (is_array($dataStructArray)) {