From 1e4a4feba1aac2a0e78dfc8c880235fa196695ca Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 5 Sep 2002 14:58:38 +0000 Subject: [PATCH] Fixed stupid bug causing double lines (the same) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3567 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/strings.php b/functions/strings.php index 6b6c4a74..8e104229 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -82,7 +82,9 @@ function sqUnWordWrap(&$body) { $CurrentSpaces = $regs[1]; if (isset($regs[2])) { $CurrentRest = $regs[2]; - } + } else { + $CurrentRest = ''; + } if ($i == 0) { $PreviousSpaces = $CurrentSpaces; -- 2.25.1