diff options
Diffstat (limited to 'config/mailreport/mail_reports.inc')
-rw-r--r-- | config/mailreport/mail_reports.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index 0460bbc6..48fbc868 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -195,7 +195,7 @@ function mail_report_send($headertext, $attachments) { if(is_array($attachments)) { foreach($attachments as $filename) { $shortname = basename($filename); - $mail->AddEmbeddedImage("$filename", $shortname, "$filename"); + $mail->AddEmbeddedImage($filename, $shortname, $shortname); $mail->Body .= "<br/><br/>{$shortname}<br/><img src=\"cid:{$shortname}\" />\n"; } } |