mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Grade item: MDL-21161 timemodified never gets set on calculated gradebook columns
This commit is contained in:
parent
f12c95734a
commit
e785b784f1
1 changed files with 1 additions and 0 deletions
|
@ -1815,6 +1815,7 @@ class grade_item extends grade_object {
|
||||||
|
|
||||||
// update in db if changed
|
// update in db if changed
|
||||||
if (grade_floats_different($grade->finalgrade, $oldfinalgrade)) {
|
if (grade_floats_different($grade->finalgrade, $oldfinalgrade)) {
|
||||||
|
$grade->timemodified = time();
|
||||||
$grade->update('compute');
|
$grade->update('compute');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue