projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ba9101
)
Mailer.php
author
edward
<edward@roojs.com>
Mon, 26 Mar 2018 06:04:02 +0000
(14:04 +0800)
committer
edward
<edward@roojs.com>
Mon, 26 Mar 2018 06:04:02 +0000
(14:04 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
7e4e80e
..
00950c3
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-87,7
+87,6
@@
class Pman_Core_Mailer {
var $bcc = false;
function __construct($args) {
var $bcc = false;
function __construct($args) {
- print_R($args);exit;
foreach($args as $k=>$v) {
// a bit trusting..
$this->$k = $v;
foreach($args as $k=>$v) {
// a bit trusting..
$this->$k = $v;
@@
-180,7
+179,7
@@
class Pman_Core_Mailer {
if ($this->css_embed) {
$htmlbody = $this->htmlbodyCssEmbed($htmlbody);
}
if ($this->css_embed) {
$htmlbody = $this->htmlbodyCssEmbed($htmlbody);
}
- print_R($this);exit;
+
if ($this->css_inline && strlen($this->css_inline)) {
$htmlbody = $this->htmlbodyInlineCss($htmlbody);
}
if ($this->css_inline && strlen($this->css_inline)) {
$htmlbody = $this->htmlbodyInlineCss($htmlbody);
}