Skip to content

Commit

Permalink
Fix no tatic HtmlHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
LadySolveig committed Jul 25, 2024
1 parent 83724a0 commit 1e2cb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Mail/MailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public function send()

// Add the logo to the mail as inline attachement
if ($logo) {
$logo = Path::check(JPATH_ROOT . '/' . HTMLHelper::cleanImageURL($logo)->url);
$logo = Path::check(JPATH_ROOT . '/' . HTMLHelper::_('cleanImageURL', $logo)->url);
if (is_file(urldecode($logo))) {
# Attach the logo as inline attachement
$this->mailer->addAttachment($logo, 'site-logo', 'base64', mime_content_type($logo), 'inline');
Expand Down

0 comments on commit 1e2cb33

Please sign in to comment.