Skip to content

Commit 3a8d986

Browse files
authored
[5.4] Fix static getTemplate call in mail template (#46448)
1 parent bfe3c8e commit 3a8d986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/Mail/MailTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public function send()
246246
{
247247
$config = ComponentHelper::getParams('com_mails');
248248

249-
$mail = self::getTemplate($this->template_id, $this->language);
249+
$mail = static::getTemplate($this->template_id, $this->language);
250250

251251
// If the Mail Template was not found in the db, we cannot send an email.
252252
if ($mail === null) {

0 commit comments

Comments
 (0)