Skip to content

Commit db37088

Browse files
committed
Pass the user's mailformat preference when emailing certificates (#665)
1 parent 3b643d9 commit db37088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/task/email_certificate_task.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function execute() {
8686

8787
// Get the information about the user and the certificate issue.
8888
$userfields = helper::get_all_user_name_fields('u');
89-
$sql = "SELECT u.id, u.username, $userfields, u.email, ci.id as issueid, ci.emailed
89+
$sql = "SELECT u.id, u.username, $userfields, u.email, u.mailformat, ci.id as issueid, ci.emailed
9090
FROM {customcert_issues} ci
9191
JOIN {user} u
9292
ON ci.userid = u.id

0 commit comments

Comments
 (0)