MDL-55656 theme_noname: Include advanced and required field markup
[moodle.git] / lib / form / group.php
index c19b31b..b060948 100644 (file)
@@ -178,7 +178,7 @@ class MoodleQuickForm_group extends HTML_QuickForm_group implements templatable
                 }
             }
 
-            $out = $OUTPUT->mform_element($element, false, '', true);
+            $out = $OUTPUT->mform_element($element, false, false, '', true);
 
             if (empty($out)) {
                 $renderer = new HTML_QuickForm_Renderer_Default();