mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-22 20:53:39 +09:00
Minor update due to note on issue #3380
This commit is contained in:
1 parent
aac7dcd9b9
commit
e2a6a034f6
1 file changed
+1
-1
+1
-1
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user