[BUGFIX] displayCond in flexforms broken 68/20468/3
authorStefan Galinski <stefan.galinski@gmail.com>
Fri, 3 May 2013 14:47:23 +0000 (16:47 +0200)
committerBenjamin Mack <benni@typo3.org>
Sat, 4 May 2013 08:35:58 +0000 (10:35 +0200)
Fixes: #47886
Releases: 6.2, 6.1
Change-Id: I1268fce3c7e1d4c39cad029767e8503df119ea3c
Reviewed-on: https://review.typo3.org/20467
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/20468

typo3/sysext/backend/Classes/Form/FormEngine.php

index 93e4621..ffc6bf6 100644 (file)
@@ -2667,7 +2667,7 @@ function ' . $evalData . '(value) {
                                                }
                                                $displayConditionResult = TRUE;
                                                if ($dataStruct['ROOT']['TCEforms']['displayCond']) {
-                                                       $displayConditionResult = $elementConditionMatcher->match($dataStruct['ROOT']['TCEforms']['displayCond'], $fakeRow, 'vDef');
+                                                       $displayConditionResult = $elementConditionMatcher->match($dataStruct['ROOT']['TCEforms']['displayCond'], $fakeRow, 'vDEF');
                                                }
                                                // If sheets displayCond leads to false
                                                if (!$skipCondition && !$displayConditionResult) {