diff --git a/libraries/src/Mail/MailTemplate.php b/libraries/src/Mail/MailTemplate.php index b48191c3dca7f..17bd3671c3bbb 100644 --- a/libraries/src/Mail/MailTemplate.php +++ b/libraries/src/Mail/MailTemplate.php @@ -346,11 +346,11 @@ public function send() $logo = $params->get('disable_logofile', 1) ? $logo : '' ; } - // Add the logo to the mail as inline attachement + // Add the logo to the mail as inline attachment if ($logo) { $logo = Path::check(JPATH_ROOT . '/' . HTMLHelper::_('cleanImageURL', $logo)->url); if (is_file(urldecode($logo))) { - # Attach the logo as inline attachement + # Attach the logo as inline attachment $this->mailer->addAttachment($logo, 'site-logo', 'base64', mime_content_type($logo), 'inline'); // We need only the cid for attached logo file