MDL-39487 mod/assign: fixed ID number of grade item changing
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
42a9e3efc2
commit
827e54dde5
@@ -3675,7 +3675,7 @@ class assign {
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user