From b82110bcd7a24a1d6befa40a1aa96d1efd488027 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 1 Aug 2008 13:03:17 +0000 Subject: [PATCH] further improvement for the import of Mail messages --- infolog/inc/class.uiinfolog.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index ffe8a3f4d5..9fe7a670d9 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -1385,7 +1385,10 @@ class uiinfolog while(list($key,$value) = @each($newBody)) { if (trim($value) != '') { - if ($value != "\r") $value .= "\n"; + #if ($value != "\r") $value .= "\n"; + } else { + // if you want to strip all empty lines uncomment the following + #continue; } $bodyAppend = $bofelamimail->wordwrap($value,75,"\n"); $message .= $bodyAppend;