[BUGFIX] Fix typo in UserElement.php
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Element / UserElement.php
index 37c1d5f..7b0e439 100644 (file)
@@ -42,10 +42,10 @@ class UserElement extends AbstractFormElement
             $parameterArray,
             $this
         );
-        if (!isset($parameterArray['fieldCong']['config']['noTableWrapping'])
-            || (bool)$parameterArray['fieldCong']['config']['noTableWrapping'] === false
+        if (!isset($parameterArray['fieldConf']['config']['noTableWrapping'])
+            || (bool)$parameterArray['fieldConf']['config']['noTableWrapping'] === false
         ) {
-            $html = '<div class="t3js-formengine-field-item">' . $html . '</div>';
+            $html = '<div class="formengine-field-item t3js-formengine-field-item">' . $html . '</div>';
         }
         $resultArray['html'] = $html;
         return $resultArray;