Mailer.php
authorChris <chris@roojs.com>
Wed, 20 Nov 2013 10:46:51 +0000 (18:46 +0800)
committerChris <chris@roojs.com>
Wed, 20 Nov 2013 10:46:51 +0000 (18:46 +0800)
Mailer.php

index 2727361..450a6e5 100644 (file)
@@ -233,7 +233,7 @@ class Pman_Core_Mailer {
                 $mime->addAttachment(
                         $attch['file'],
                         $attch['mimetype'],
-                        $attch['name'],
+                        (empty($attch['name'])) ? $attch['name'] : '',
                         true
                 );
             }