Преглед на файлове

* 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];
                 }