summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Uckelman <uckelman@nomic.net>2013-05-12 09:40:12 -0700
committerJoel Uckelman <uckelman@nomic.net>2013-05-12 09:40:12 -0700
commit7437f8756d445ed8d5aa298d269dbd4950ac3e3c (patch)
tree172e1ae49b36bca2430691c3b21aae5053c8b259
parent6c2cecb093a5a1a32ae21e2b0753f1f8f68d892c (diff)
Fixed bad variable name which prevents attachments from getting the
correct MIME type.
-rw-r--r--src/build_email.php6
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
);
}