[BUGFIX] FlexFormContainer: Read field name correctly from globalOptions 58/39658/2
authorSebastian Michaelsen <sebastian@michaelsen.io>
Fri, 22 May 2015 11:00:50 +0000 (13:00 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 22 May 2015 11:25:45 +0000 (13:25 +0200)
The field name is read from the wrong array key, resulting in a broken
flexform.

Resolves: #67105
Releases: master
Change-Id: I64c7d1f2dfc6bf2338eaa1f1e4195dd5f139dbc8
Reviewed-on: http://review.typo3.org/39658
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/FlexFormContainer.php

index c3a6321..24efab9 100644 (file)
@@ -38,7 +38,7 @@ class FlexFormContainer extends AbstractContainer {
 
                $table = $this->globalOptions['table'];
                $row = $this->globalOptions['databaseRow'];
-               $field = $this->globalOptions['field'];
+               $field = $this->globalOptions['fieldName'];
                $parameterArray = $this->globalOptions['parameterArray'];
 
                // Data Structure