diff options
author | Joel Uckelman <uckelman@nomic.net> | 2013-05-12 09:40:12 -0700 |
---|---|---|
committer | Joel Uckelman <uckelman@nomic.net> | 2013-05-12 09:40:12 -0700 |
commit | 7437f8756d445ed8d5aa298d269dbd4950ac3e3c (patch) | |
tree | 172e1ae49b36bca2430691c3b21aae5053c8b259 /src/build_email.php | |
parent | 6c2cecb093a5a1a32ae21e2b0753f1f8f68d892c (diff) |
Fixed bad variable name which prevents attachments from getting the
correct MIME type.
Diffstat (limited to 'src/build_email.php')
-rw-r--r-- | src/build_email.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } |