MDL-47547 quiz editing: minor fixes following MDL-47547
[moodle.git] / mod / quiz / addrandomform.php
index 0cce142..f66832e 100644 (file)
@@ -39,6 +39,7 @@ class quiz_add_random_form extends moodleform {
     protected function definition() {
         global $CFG, $DB;
         $mform =& $this->_form;
+        $mform->setDisableShortforms();
 
         $contexts = $this->_customdata['contexts'];
         $usablecontexts = $contexts->having_cap('moodle/question:useall');