diff options
author | alecpl <alec@alec.pl> | 2008-11-06 17:50:38 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-11-06 17:50:38 +0000 |
commit | 68af648117f563311c717b5a086df0ae2e5c538f (patch) | |
tree | 9749847e88d63ebac662ac45cc991287e403d935 /program/lib | |
parent | a6ebd304e3322ee8c125e5ef8dfd19e30a9d4ebd (diff) |
- Fix empty file sending (#1485389)
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Mail/mimePart.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Mail/mimePart.php b/program/lib/Mail/mimePart.php index 9b9f26cc3..ab7dda30f 100644 --- a/program/lib/Mail/mimePart.php +++ b/program/lib/Mail/mimePart.php @@ -257,8 +257,8 @@ class Mail_mimePart { } $encoded['body'] = '--' . $boundary . MAIL_MIMEPART_CRLF . - rtrim(implode('--' . $boundary . MAIL_MIMEPART_CRLF , $subparts), MAIL_MIMEPART_CRLF) . MAIL_MIMEPART_CRLF . - '--' . $boundary.'--' . MAIL_MIMEPART_CRLF; + implode('--' . $boundary . MAIL_MIMEPART_CRLF , $subparts) . + '--' . $boundary.'--' . MAIL_MIMEPART_CRLF; } else { $encoded['body'] = $this->_getEncodedData($this->_body, $this->_encoding); |