summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-09-29 09:23:55 +0000
committeralecpl <alec@alec.pl>2010-09-29 09:23:55 +0000
commit6d1ae078c992af000c262df0ab6a12c608122ca9 (patch)
tree2afd0a796f42235e42de448703fd20e257ce6f1e /program/include
parentbd911ba8143f07fa4f14b682ddcd559a69a208e8 (diff)
- Fix format=flowed: don't space-stuff empty lines (#1487018)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index a40cdca9c..558b8ec13 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -667,7 +667,7 @@ class rcube_message
$line = rtrim(substr($line, $level));
$line = $prefix . rc_wordwrap($line, $length - $level - 2, " \r\n$prefix ");
}
- else {
+ else if ($line) {
$line = ' ' . rc_wordwrap(rtrim($line), $length - 2, " \r\n ");
}