Skip to content
Browse files

MDL-39821 assign: missing setType with advanced grading

  • Loading branch information...
1 parent d196397 commit 6c37003d050919249fa589540741c16166ad693b @damyon damyon committed with stronk7 May 29, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/assign/locallib.php
View
1 mod/assign/locallib.php
@@ -4958,6 +4958,7 @@ public function add_grade_form_elements(MoodleQuickForm $mform, stdClass $data,
$gradingelement->freeze();
} else {
$mform->addElement('hidden', 'advancedgradinginstanceid', $gradinginstance->get_id());
+ $mform->setType('advancedgradinginstanceid', PARAM_INT);
}
} else {
// Use simple direct grading.

0 comments on commit 6c37003

Please sign in to comment.
Something went wrong with that request. Please try again.