Make sure HTML part size>0 before assuming the message has got HTML part

pull/42/head
Aleksander Machniak 12 years ago
parent abe164367b
commit 9c299eb9e6

@ -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;
}

Loading…
Cancel
Save