Skip to content

Commit

Permalink
MDL-55912 mod_assign: Set grader details to the correct user.
Browse files Browse the repository at this point in the history
  • Loading branch information
abgreeve committed Jul 17, 2017
1 parent 4b42431 commit 4846429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/locallib.php
Expand Up @@ -2329,7 +2329,7 @@ public static function cron() {
$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;
}
Expand Down

0 comments on commit 4846429

Please sign in to comment.