Fixed stupid bug causing double lines (the same)
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 5 Sep 2002 14:58:38 +0000 (14:58 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 5 Sep 2002 14:58:38 +0000 (14:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3567 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/strings.php

index 6b6c4a7..8e10422 100644 (file)
@@ -82,7 +82,9 @@ function sqUnWordWrap(&$body) {
         $CurrentSpaces = $regs[1];
         if (isset($regs[2])) {
             $CurrentRest = $regs[2];
-        }
+        } else {
+           $CurrentRest = '';
+       }
         
         if ($i == 0) {
             $PreviousSpaces = $CurrentSpaces;