diff options
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | program/lib/Mail/mimePart.php | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ CHANGELOG RoundCube Webmail --------------------------- +2008/11/06 (alec) +---------- +- Fix empty file sending (#1485389) + 2008/11/05 (alec) ---------- - Fix HTML editor initialization on IE (#1485304) 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); |