projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7abfc37
)
Mailer.php
author
Chris
<chris@roojs.com>
Wed, 20 Nov 2013 06:46:54 +0000
(14:46 +0800)
committer
Chris
<chris@roojs.com>
Wed, 20 Nov 2013 06:46:54 +0000
(14:46 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
e138836
..
0b4dc74
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-213,12
+213,12
@@
class Pman_Core_Mailer {
if(!empty($this->attachments)){
//if got a attachments
+ $header = $mime->headers($parts[1]);
if (isset($parts[1]['Content-Type'])) {
unset($parts[1]['Content-Type']);
}
- $header = $mime->headers($parts[1]);
if (!$isMime) {
if(preg_match('/text\/html/', $header['Content-Type'])){