projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fd60fa
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 04:39:00 +0000
(12:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Jan 2016 04:39:00 +0000
(12:39 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
070b198
..
0116168
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-296,7
+296,7
@@
class Pman_Core_Mailer {
if ($this->rcpts !== false) {
$ret['recipents'] = $this->rcpts;
}
-
+ // if 'to' is empty, then add the recipents in there...
if (!empty($ret['recipents']) && is_array($ret['recipents']) &&
(empty($ret['headers']['To']) || !strlen(trim($ret['headers']['To'])))) {
$ret['headers']['To'] = implode(',', $ret['recipents']);