Permalink
Browse files

MDL-36061 gradebook: grade_item->refresh_grades doesn't propagate $us…

…erid
  • Loading branch information...
1 parent 8ccaa29 commit 0a757cf033906671babfea68f319823361e68401 Matt Switlik committed with andyjdavis Oct 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/grade/grade_item.php
View
@@ -1445,7 +1445,7 @@ public function refresh_grades($userid=0) {
$activity->modname = $this->itemmodule;
$activity->cmidnumber = $cm->idnumber;
- grade_update_mod_grades($activity);
+ grade_update_mod_grades($activity, $userid);
}
}

0 comments on commit 0a757cf

Please sign in to comment.