[BUGFIX] Flexform field is available but not passed to sub-function calls 79/21579/2
authorClaus Due <claus@wildside.dk>
Fri, 21 Jun 2013 18:47:45 +0000 (20:47 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 21 Jun 2013 19:35:57 +0000 (21:35 +0200)
commit0e906fa874f4d8d05a303357f1b99356b55b0ff3
treeef7fa5d324ee519869eb84b881d7b27c84ce6a1c
parentb303a18ed336cce4c21a3fe48453e54c02cc7127
[BUGFIX] Flexform field is available but not passed to sub-function calls

This change fixes three occurrences of calls to FlexForm DS
processing methods which accept a $fieldName argument but in
the current state of the code is given an empty string instead
of the $field variable which exists in all three contexts and
contains the proper value.

Passing the field name along to these sub functions allows hook
subscribers to use the field name - among other things. In any
case this fixes an unexpected behaviour turning it into an
expected one.

Resolves: #49331
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I078b0734f3bfa74a9acd61773c5c380f091286f8
Reviewed-on: https://review.typo3.org/21579
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
t3lib/class.t3lib_flexformtools.php
t3lib/class.t3lib_refindex.php
t3lib/class.t3lib_tcemain.php