diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-08-14 18:20:19 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-08-14 18:20:19 +0200 |
commit | 94d778f25c290c7dfe8aae613bcdc0f04642e3b1 (patch) | |
tree | 15fd9ab91a9e726ee13d1748fc1e75dd6402b31f /program/steps/mail/get.inc | |
parent | 5f17657e82abfae6bce0027e243e22a4183174a6 (diff) | |
parent | 64599448608f16e093b1fd21492052b64ad2a939 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r-- | program/steps/mail/get.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index 02d57c7dc..b260d2c85 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -354,7 +354,7 @@ else if (strlen($part_id)) { } // send part as-it-is else { - if ($part->body) { + if ($part->body && empty($plugin['download'])) { header("Content-Length: " . strlen($part->body)); echo $part->body; $sent = true; |