Skip to content

Commit ba9d945

Browse files
brianteemanQuyTon
andauthored
[5.2] Spelling (joomla#43985)
attachement => attachment code review only Signed-off-by: BrianTeeman <[email protected]> Co-authored-by: Quy <[email protected]>
1 parent c75b69b commit ba9d945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/src/Mail/MailTemplate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,11 @@ public function send()
346346
$logo = $params->get('disable_logofile', 1) ? $logo : '' ;
347347
}
348348

349-
// Add the logo to the mail as inline attachement
349+
// Add the logo to the mail as inline attachment
350350
if ($logo) {
351351
$logo = Path::check(JPATH_ROOT . '/' . HTMLHelper::_('cleanImageURL', $logo)->url);
352352
if (is_file(urldecode($logo))) {
353-
# Attach the logo as inline attachement
353+
# Attach the logo as inline attachment
354354
$this->mailer->addAttachment($logo, 'site-logo', 'base64', mime_content_type($logo), 'inline');
355355

356356
// We need only the cid for attached logo file

0 commit comments

Comments
 (0)