Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Grade item: MDL-21161 timemodified never gets set on calculated grade…

…book columns
  • Loading branch information...
commit f7f6e31b63adfc199b61629224c95b27291ec012 1 parent 4e2ba08
Tim Hunt timhunt authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/grade/grade_item.php
1  lib/grade/grade_item.php
View
@@ -1788,6 +1788,7 @@ function use_formula($userid, $params, $useditems, $oldgrade) {
// update in db if changed
if (grade_floats_different($grade->finalgrade, $oldfinalgrade)) {
+ $grade->timemodified = time();
$grade->update('compute');
}
Please sign in to comment.
Something went wrong with that request. Please try again.