From 46d78d9b8b95b9933cd902b7185b551c52b2b470 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 6 Nov 2008 17:50:38 +0000 Subject: - Fix empty file sending (#1485389) git-svn-id: https://svn.roundcube.net/trunk@2043 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/lib/Mail/mimePart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/lib/Mail/mimePart.php') diff --git a/roundcubemail/program/lib/Mail/mimePart.php b/roundcubemail/program/lib/Mail/mimePart.php index 9b9f26cc3..ab7dda30f 100644 --- a/roundcubemail/program/lib/Mail/mimePart.php +++ b/roundcubemail/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); -- cgit v1.2.3