Minor update due to note on issue #3380

This commit is contained in:
TheWitness committed 2020-03-29 12:30:49 -04:00
1 parent aac7dcd9b9
commit e2a6a034f6
1 file changed
+1 -1
+1 -1
View File
@@ -3651,7 +3651,7 @@ function mailer($from, $to, $cc, $bcc, $replyto, $subject, $body, $body_text = '
}
} else {
if (!empty($attachment['attachment']) && @file_exists($attachment['attachment'])) {
$result = $mail->addEmbeddedImage($attachment['attachment'], $cid, $attachment['filename'], 'base64', $attachment['encoding'], $attachment['mime_type'], $attachment['inline']);
$result = $mail->addEmbeddedImage($attachment['attachment'], $cid, $attachment['filename'], $attachment['encoding'], $attachment['mime_type'], $attachment['inline']);
} else {
$result = $mail->addStringEmbeddedImage($attachment['attachment'], $cid, $attachment['filename'], 'base64', $attachment['mime_type'], $attachment['inline']);
}