From 77f771c440519d340fe34af8e021c2f542cf3876 Mon Sep 17 00:00:00 2001 From: Wouter Wolters <typo3@wouterwolters.nl> Date: Sun, 19 May 2013 16:21:37 +0200 Subject: [PATCH] [BUGFIX] Pass $field to BackendUtility::getFlexFormDS 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/20919 Reviewed-by: Dmitry Dulepov Tested-by: Dmitry Dulepov Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters --- typo3/sysext/backend/Classes/Form/FormEngine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Classes/Form/FormEngine.php b/typo3/sysext/backend/Classes/Form/FormEngine.php index 212a4ceafabf..63548ea5c998 100644 --- a/typo3/sysext/backend/Classes/Form/FormEngine.php +++ b/typo3/sysext/backend/Classes/Form/FormEngine.php @@ -2570,7 +2570,7 @@ function ' . $evalData . '(value) { */ public function getSingleField_typeFlex($table, $field, $row, &$PA) { // Data Structure: - $dataStructArray = BackendUtility::getFlexFormDS($PA['fieldConf']['config'], $row, $table); + $dataStructArray = BackendUtility::getFlexFormDS($PA['fieldConf']['config'], $row, $table, $field); $item = ''; // Manipulate Flexform DS via TSConfig and group access lists if (is_array($dataStructArray)) { -- GitLab