Permalink
Browse files

MDL-36829: Fix outcome value not being saved when grading a submission

  • Loading branch information...
1 parent f42c34a commit 398a41480100d3d4e782a0728bbf3b339bf9263c @kastashov kastashov committed Nov 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/assign/locallib.php
View
2 mod/assign/locallib.php
@@ -4312,9 +4312,11 @@ private function process_save_grade(&$mform) {
foreach ($members as $member) {
// User may exist in multple groups (which should put them in the default group).
$this->apply_grade_to_user($formdata, $member->id);
+ $this->process_outcomes($member->id, $formdata);
}
} else {
$this->apply_grade_to_user($formdata, $userid);
+ $this->process_outcomes($userid, $formdata);
}
} else {
return false;

0 comments on commit 398a414

Please sign in to comment.