summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap_generic.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-08-15 15:42:41 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-08-15 15:42:41 +0200
commit957ac142e3c80db3b86df4f0db3b82cfa8856206 (patch)
tree4edca8dbfac73407ed66985f47288df0a1d7bee7 /program/include/rcube_imap_generic.php
parent13969cf5406c14ba5dd5f830d7a8e2e2134e244b (diff)
parent38ea9af1e685aeb89b5823e59ccd2c8fb481162c (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/include/rcube_imap_generic.php')
-rw-r--r--program/include/rcube_imap_generic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 8d956f2b9..915a11aad 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -2377,7 +2377,7 @@ class rcube_imap_generic
return $this->handlePartBody($mailbox, $id, $is_uid, $part);
}
- function handlePartBody($mailbox, $id, $is_uid=false, $part='', $encoding=NULL, $print=NULL, $file=NULL)
+ function handlePartBody($mailbox, $id, $is_uid=false, $part='', $encoding=NULL, $print=NULL, $file=NULL, $formatted=true)
{
if (!$this->select($mailbox)) {
return false;
@@ -2494,7 +2494,7 @@ class rcube_imap_generic
continue;
$line = convert_uudecode($line);
// default
- } else {
+ } else if ($formatted) {
$line = rtrim($line, "\t\r\n\0\x0B") . "\n";
}