mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-55912 mod_assign: Set grader details to the correct user.
This commit is contained in:
parent
16a68a2f76
commit
0163e5d276
@ -2329,7 +2329,7 @@ class assign {
|
||||
$uniqueid = 0;
|
||||
if ($submission->blindmarking && !$submission->revealidentities) {
|
||||
if (empty($submission->recordid)) {
|
||||
$uniqueid = self::get_uniqueid_for_user_static($submission->assignment, $user->id);
|
||||
$uniqueid = self::get_uniqueid_for_user_static($submission->assignment, $grader->id);
|
||||
} else {
|
||||
$uniqueid = $submission->recordid;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user