Merge branch 'MDL-40443' of git://github.com/timhunt/moodle
authorDamyon Wiese <damyon@moodle.com>
Tue, 9 Jul 2013 07:15:47 +0000 (15:15 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 9 Jul 2013 07:15:47 +0000 (15:15 +0800)
mod/quiz/report/overview/overview_form.php

index 428bbbb..e03bab9 100644 (file)
@@ -50,6 +50,7 @@ class quiz_overview_settings_form extends mod_quiz_attempts_report_form {
                     get_string('showdetailedmarks', 'quiz_overview'));
         } else {
             $mform->addElement('hidden', 'slotmarks', 0);
+            $mform->setType('slotmarks', PARAM_INT);
         }
     }
 }