Fixed stupid bug causing double lines (the same)
[squirrelmail.git] / functions / strings.php
index c232e6720e07e647e5ffc18d002994cd0701e68b..8e1042294b302687cfdc4a995ee4124e3520d991 100644 (file)
@@ -16,7 +16,7 @@
  * SquirrelMail version number -- DO NOT CHANGE
  */
 global $version;
-$version = '1.3.0 [CVS-DEVEL]';
+$version = '1.3.2 [CVS-DEVEL]';
 
 /**
  * Wraps text at $wrap characters
@@ -82,7 +82,9 @@ function sqUnWordWrap(&$body) {
         $CurrentSpaces = $regs[1];
         if (isset($regs[2])) {
             $CurrentRest = $regs[2];
-        }
+        } else {
+           $CurrentRest = '';
+       }
         
         if ($i == 0) {
             $PreviousSpaces = $CurrentSpaces;