Permalink
Browse files

MDL-39487 mod/assign: fixed ID number of grade item changing

  • Loading branch information...
1 parent 42a9e3e commit 827e54dde571acee190a93c1bfbf1422d5b21af0 Albert Gasset committed with stronk7 Apr 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
View
@@ -3675,7 +3675,7 @@ protected function gradebook_item_update($submission=null, $grade=null) {
return false;
}
$assign = clone $this->get_instance();
- $assign->cmidnumber = $this->get_course_module()->id;
+ $assign->cmidnumber = $this->get_course_module()->idnumber;
return assign_grade_item_update($assign, $gradebookgrade);
}

0 comments on commit 827e54d

Please sign in to comment.