mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-36829: Fix outcome value not being saved when grading a submission
This commit is contained in:
parent
f42c34a38a
commit
398a414801
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user