[TASK] Render wizards of FormEngine elements only if needed
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / Element / SelectCheckBoxElement.php
index 63a39ff..7b7ac43 100644 (file)
@@ -242,7 +242,7 @@ class SelectCheckBoxElement extends AbstractFormElement
             }
 
             $html[] =       '</div>';
-            if (!$disabled) {
+            if (!$disabled && !empty($fieldWizardHtml)) {
                 $html[] =   '<div class="form-wizards-items-bottom">';
                 $html[] =       $fieldWizardHtml;
                 $html[] =   '</div>';