From f56ad6036f63438f15f8336f54f26fc02bc911cc Mon Sep 17 00:00:00 2001 From: Michael Aherne Date: Fri, 10 Jan 2014 12:37:12 +0000 Subject: [PATCH] MDL-46310 assign Prevent blind marking submission notification email being sent to noreplyemail address --- mod/assign/locallib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 2d5acfdfe37..41cdf77e331 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -4401,6 +4401,7 @@ class assign { $info = new stdClass(); if ($blindmarking) { + $userfrom = clone($userfrom); $info->username = get_string('participant', 'assign') . ' ' . $uniqueidforuser; $userfrom->firstname = get_string('participant', 'assign'); $userfrom->lastname = $uniqueidforuser;