Merge branch 'MDL-38416-master' of git://github.com/FMCorz/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 19 Mar 2013 23:34:52 +0000 (00:34 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 19 Mar 2013 23:34:52 +0000 (00:34 +0100)
grade/report/grader/preferences_form.php

index 1a97098..f548eaf 100644 (file)
@@ -119,6 +119,7 @@ class grader_report_preferences_form extends moodleform {
 
         foreach ($preferences as $group => $prefs) {
             $mform->addElement('header', $group, get_string($group, 'grades'));
+            $mform->setExpanded($group);
 
             foreach ($prefs as $pref => $type) {
                 // Detect and process dynamically numbered preferences