- don't parse text/html attachment body on download

release-0.6
alecpl 15 years ago
parent 495c0e512c
commit 1097a3cd8a

@ -82,7 +82,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) {
} }
// deliver part content // deliver part content
if ($ctype_primary == 'text' && $ctype_secondary == 'html') { if ($ctype_primary == 'text' && $ctype_secondary == 'html' && empty($_GET['_download'])) {
// get part body if not available // get part body if not available
if (!$part->body) if (!$part->body)
$part->body = $MESSAGE->get_part_content($part->mime_id); $part->body = $MESSAGE->get_part_content($part->mime_id);

Loading…
Cancel
Save