diff options
author | alecpl <alec@alec.pl> | 2009-07-19 19:15:40 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-19 19:15:40 +0000 |
commit | 3b7e00fbdaee197e6ccd832a3f10dbb417373f4c (patch) | |
tree | 12279720836ba7097773c58d2d0b6b4075877616 /program/steps/mail/get.inc | |
parent | d4436e78614eaf72e57427e1024b715d68df2954 (diff) |
- don't call FETCH for empty (size=0) message parts
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 cf66914d7..f86c152c6 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -113,7 +113,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) { // turn off output buffering and print part content if ($part->body) echo $part->body; - else + else if ($part->size) $IMAP->get_message_part($MESSAGE->uid, $part->mime_id, $part, true); } |