Skip to content

Commit

Permalink
MDL-39487 mod/assign: fixed ID number of grade item changing
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Gasset committed May 3, 2013
1 parent 95190fd commit c4d0e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/locallib.php
Expand Up @@ -3668,7 +3668,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);
}
Expand Down

0 comments on commit c4d0e4e

Please sign in to comment.