mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-11835 Making sure all upgraded grade_items have their grademax properly set
This commit is contained in:
parent
87c06e6ebd
commit
30923fcd7f
1 changed files with 2 additions and 0 deletions
|
@ -2153,6 +2153,8 @@ function assignment_update_grades($assignment=null, $userid=0, $nullifnone=true)
|
|||
}
|
||||
}
|
||||
assignment_grade_item_update($assignment, $grades);
|
||||
} else {
|
||||
assignment_grade_item_update($assignment, NULL);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue