Add userfullname variable for email subject (#316)
This commit is contained in:
parent
8296796519
commit
fa6270e360
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.
|
// Now, email the people we need to.
|
||||||
foreach ($issuedusers as $user) {
|
foreach ($issuedusers as $user) {
|
||||||
$userfullname = fullname($user);
|
$userfullname = fullname($user);
|
||||||
|
$info->userfullname = $userfullname;
|
||||||
|
|
||||||
// Now, get the PDF.
|
// Now, get the PDF.
|
||||||
$template = new \stdClass();
|
$template = new \stdClass();
|
||||||
|
|
Loading…
Reference in a new issue