From 080e53d13aa8ee24b5c9206ce189879b1412f4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Trouv=C3=A9?= Date: Fri, 13 Dec 2019 15:46:49 +0100 Subject: [PATCH] Add userfullname variable for email subject (#316) --- classes/task/email_certificate_task.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/task/email_certificate_task.php b/classes/task/email_certificate_task.php index 3752d09..b131f82 100644 --- a/classes/task/email_certificate_task.php +++ b/classes/task/email_certificate_task.php @@ -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();