summaryrefslogtreecommitdiff
path: root/program/include/rcube_message.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_message.php')
-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 ");
}