mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-38113: Blind Marking grader email reveals submitters details
This commit is contained in:
parent
24ace4b795
commit
9ecded01cc
1 changed files with 3 additions and 0 deletions
|
@ -3607,6 +3607,9 @@ class assign {
|
|||
$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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue