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

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