Browse Source

Fixed stupid bug causing double lines (the same)

stekkel 23 years ago
parent
commit
155c8b350a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      functions/strings.php

+ 3 - 1
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;