MDL-53262 inboundmessage: Fix inconsistent confirm From vs email body
authorBrendan Heywood <brendan@catalyst-au.net>
Sat, 27 Feb 2016 11:19:59 +0000 (22:19 +1100)
committerBrendan Heywood <brendan@catalyst-au.net>
Sun, 20 Mar 2016 04:51:42 +0000 (15:51 +1100)
admin/tool/messageinbound/classes/manager.php

index 8364e90..b358d33 100644 (file)
@@ -895,7 +895,7 @@ class manager {
         $userfrom->customheaders[] = 'In-Reply-To: ' . $messageid;
 
         // The message will be sent from the intended user.
         $userfrom->customheaders[] = 'In-Reply-To: ' . $messageid;
 
         // The message will be sent from the intended user.
-        $eventdata->userfrom            = \core_user::get_noreply_user();
+        $eventdata->userfrom            = \core_user::get_support_user();
         $eventdata->userto              = $USER;
         $eventdata->subject             = $this->get_reply_subject($this->currentmessagedata->envelope->subject);
         $eventdata->fullmessage         = get_string('invalidrecipientdescription', 'tool_messageinbound', $this->currentmessagedata);
         $eventdata->userto              = $USER;
         $eventdata->subject             = $this->get_reply_subject($this->currentmessagedata->envelope->subject);
         $eventdata->fullmessage         = get_string('invalidrecipientdescription', 'tool_messageinbound', $this->currentmessagedata);