Selaa lähdekoodia

Fixed stupid bug causing double lines (the same)

stekkel 23 vuotta sitten
vanhempi
commit
155c8b350a
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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;