Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
MDL-62445 tool_privacy: pass correct user to message_send
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy authored and junpataleta committed May 16, 2018
1 parent 1dc9081 commit adc76ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public static function notify_dpo($dpo, data_request $request) {
$message->courseid = $SITE->id;
$message->component = 'tool_dataprivacy';
$message->name = 'contactdataprotectionofficer';
$message->userfrom = $requestedby;
$message->userfrom = $requestedby->id;
$message->replyto = $requestedby->email;
$message->replytoname = $requestedby->fullname;
$message->subject = $subject;
Expand Down

0 comments on commit adc76ce

Please sign in to comment.