-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.7.2
-
None
-
MOODLE_27_STABLE
1. Add a new assignment
2. Choose "Blind marking: YES"
3. Then, if a student uploads a file, the email is wrongly sent to the configured noreplyaddress
In mod/assign/locallib.php (l:4672)
$this->send_notification($user, $user, ...
then still in locallib.php (l:4573)
if ($blindmarking) {
$info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser;
$userfrom->firstname = get_string('participant', 'assign');
$userfrom->lastname = $uniqueidforuser;
$userfrom->email = $CFG->noreplyaddress;
...
the $userfrom is updated with the noreplyaddress but as it's the same object, the $userto is updated as well.
- duplicates
-
MDL-43610 Blind marking submission notification email sent to noreplyemail address
-
- Closed
-