소스 검색

* Apparently the PHP ereg function doesn't think that \s is space, \t is
tab, \w is whitespace. Just changed \s ('\\s' to get past one level of
unescaping) into a space. All is better.

Tyler Akins 24 년 전
부모
커밋
eb75066b40
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/compose.php

+ 1 - 1
src/compose.php

@@ -77,7 +77,7 @@
          for ($i=0; isset($body_ary[$i]); $i++) {
             if (! $forward_id)
             {
-                if (ereg('^[\\s>]+', $body_ary[$i]))
+                if (ereg('^[ >]+', $body_ary[$i]))
                 {
                     $body_ary[$i] = '>' . $body_ary[$i];
                 }