Add userfullname variable for email subject (#316)
This commit is contained in:
parent
9d97d7e6fb
commit
74f1cd732d
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ class email_certificate_task extends \core\task\scheduled_task {
|
|||
// Now, email the people we need to.
|
||||
foreach ($issuedusers as $user) {
|
||||
$userfullname = fullname($user);
|
||||
$info->userfullname = $userfullname;
|
||||
|
||||
// Now, get the PDF.
|
||||
$template = new \stdClass();
|
||||
|
|
Loading…
Reference in a new issue