Skip to content

Commit

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

code review only

Signed-off-by: BrianTeeman <brian@teeman.net>
  • Loading branch information
brianteeman committed Aug 26, 2024
1 parent 76a2903 commit 3c8c9d8
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 @@ -342,11 +342,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 3c8c9d8

Please sign in to comment.