Browse Source

Fixed stupid bug causing double lines (the same)

stekkel 23 năm trước cách đây
mục cha
commit
155c8b350a
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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;