summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-14 18:20:19 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-14 18:20:19 +0200
commit94d778f25c290c7dfe8aae613bcdc0f04642e3b1 (patch)
tree15fd9ab91a9e726ee13d1748fc1e75dd6402b31f /program
parent5f17657e82abfae6bce0027e243e22a4183174a6 (diff)
parent64599448608f16e093b1fd21492052b64ad2a939 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/get.inc2
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;