Permalink
Browse files

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

…book columns
  • Loading branch information...
1 parent 4e2ba08 commit f7f6e31b63adfc199b61629224c95b27291ec012 @timhunt timhunt committed Dec 18, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/grade/grade_item.php
View
1 lib/grade/grade_item.php
@@ -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');
}

0 comments on commit f7f6e31

Please sign in to comment.