summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-12 09:16:22 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-12 09:17:44 +0100
commita38cd0f12a29ba323c1edaa7fbd1f51572454304 (patch)
treec84b70606008c9a17e3cd98fe681fa7004eef514 /program/steps/mail/func.inc
parentac0c8537ad776c9852a9ef7b64ac76bd2c2e068c (diff)
Fix excessive LFs at the end of composed message with top_posting=true (#1488797)
Conflicts: CHANGELOG
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index efca65b74..6712f2516 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1499,7 +1499,7 @@ function rcmail_wrap_and_quote($text, $length = 72)
$out .= $line . "\n";
}
- return $out;
+ return rtrim($out, "\n");
}