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

pull/212/head
Thomas Bruederli 10 years ago
parent 0fddf7a6a2
commit 6459944860

@ -354,7 +354,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