Don't read attachment contents from cache when downloading. Cache might have line endings converted

pull/252/head
Thomas Bruederli 10 years ago
parent ef4e6b9aed
commit 2d284df861

@ -356,7 +356,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;

Loading…
Cancel
Save