From 398a41480100d3d4e782a0728bbf3b339bf9263c Mon Sep 17 00:00:00 2001 From: Kirill Astashov Date: Mon, 26 Nov 2012 16:23:02 +1030 Subject: [PATCH] MDL-36829: Fix outcome value not being saved when grading a submission --- mod/assign/locallib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 7a8dcae2c43..1ed537916f2 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -4312,9 +4312,11 @@ class assign { 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;