mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-31713 core_grade: added updating of grade min and max to update_final_grade()
This commit is contained in:
parent
59772c066a
commit
ea11496d0b
@ -1503,6 +1503,11 @@ class grade_item extends grade_object {
|
||||
$oldgrade->feedback = $grade->feedback;
|
||||
$oldgrade->feedbackformat = $grade->feedbackformat;
|
||||
|
||||
// MDL-31713 rawgramemin and max must be up to date so conditional access %'s works properly.
|
||||
$grade->rawgrademin = $this->grademin;
|
||||
$grade->rawgrademax = $this->grademax;
|
||||
$grade->rawscaleid = $this->scaleid;
|
||||
|
||||
// changed grade?
|
||||
if ($finalgrade !== false) {
|
||||
if ($this->is_overridable_item()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user