浏览代码

Fixed stupid bug causing double lines (the same)

stekkel 23 年之前
父节点
当前提交
155c8b350a
共有 1 个文件被更改,包括 3 次插入1 次删除
  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;