MDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer

This commit is contained in:
Jun Pataleta
2020-01-06 11:37:02 +08:00
parent b2c0237ae8
commit 63078beeed
@@ -153,7 +153,7 @@ class process_data_request_task extends adhoc_task {
$message->name = 'datarequestprocessingresults';
$message->userfrom = $dpo;
$message->replyto = $dpo->email;
$message->replytoname = fullname($dpo->email);
$message->replytoname = fullname($dpo);
$typetext = null;
// Prepare the context data for the email message body.