Skip to content

Commit

Permalink
[5.2] Spelling (#43985)
Browse files Browse the repository at this point in the history
attachement => attachment

code review only

Signed-off-by: BrianTeeman <brian@teeman.net>
Co-authored-by: Quy <quy@nomonkeybiz.com>
  • Loading branch information
brianteeman and Quy authored Aug 27, 2024
1 parent c75b69b commit ba9d945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/Mail/MailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba9d945

Please sign in to comment.