DataObjects/core.sql
[Pman.Core] / Mailer.php
index c51f869..c7417c3 100644 (file)
@@ -233,8 +233,8 @@ class Pman_Core_Mailer {
                 $mime->addAttachment(
                         $attch['file'],
                         $attch['mimetype'],
-                        $attch['name'],
-                        
+                        (!empty($attch['name'])) ? $attch['name'] : '',
+                        true
                 );
             }