Permalink
Browse files

MDL-38113: Blind Marking grader email reveals submitters details

  • Loading branch information...
1 parent 6b5dc09 commit c9c205e450f9d4694c1caf61024e8ce5eefcca21 @tlock tlock committed with danpoltawski Feb 20, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/assign/locallib.php
View
3 mod/assign/locallib.php
@@ -3434,6 +3434,9 @@ public static function send_assignment_notification($userfrom, $userto, $message
$info = new stdClass();
if ($blindmarking) {
$info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
+ $userfrom->firstname = get_string('participant', 'assign');
+ $userfrom->lastname = $uniqueidforuser;
+ $userfrom->email = $CFG->noreplyaddress;
} else {
$info->username = fullname($userfrom, true);
}

0 comments on commit c9c205e

Please sign in to comment.