diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-10-31 09:31:23 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-10-31 09:31:23 +0100 |
commit | 9c299eb9e695810272ed90c35993d34157d0d6ae (patch) | |
tree | 4e5faf34c79c62c52daaa398078fcfcdb1a148e3 /program/include | |
parent | abe164367bc15473f46a715e9cc46b062c87b2cb (diff) |
Make sure HTML part size>0 before assuming the message has got HTML part
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php index 38d18171c..47aa4493e 100644 --- a/program/include/rcube_message.php +++ b/program/include/rcube_message.php @@ -483,7 +483,7 @@ class rcube_message if ($plugin['abort']) continue; - if ($part_mimetype == 'text/html') { + if ($part_mimetype == 'text/html' && $mail_part->size) { $got_html_part = true; } |