From 7437f8756d445ed8d5aa298d269dbd4950ac3e3c Mon Sep 17 00:00:00 2001 From: Joel Uckelman Date: Sun, 12 May 2013 09:40:12 -0700 Subject: Fixed bad variable name which prevents attachments from getting the correct MIME type. --- src/build_email.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/build_email.php b/src/build_email.php index f395b27..57d22a2 100644 --- a/src/build_email.php +++ b/src/build_email.php @@ -59,9 +59,9 @@ function build_email_body(array &$headers, $text, $attachments, $footer) { build_email_attachment( $mime, - $adata['mimetype'], - $adata['real_filename'], - $adata['attach_comment'], + $a['mimetype'], + $a['real_filename'], + $a['attach_comment'], $bytes ); } -- cgit v1.2.3