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