Mailer.php
authorAlan Knowles <alan@roojs.com>
Thu, 10 Dec 2015 07:28:50 +0000 (15:28 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Dec 2015 07:28:50 +0000 (15:28 +0800)
Mailer.php

index 88f651a..b74cdc1 100644 (file)
@@ -294,7 +294,7 @@ class Pman_Core_Mailer {
             $ret['recipents'] =  $this->rcpts;
         }
         
-        if (empty($ret['headers']['To']])) {
+        if (empty($ret['headers']['To'])) {
             $ret['headers']['To'] = implode(',', $ret['recipents']);
         }