wzq hace 5 años
padre
commit
2a363d4a36
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Helper/helper.php

+ 1 - 1
app/Helper/helper.php

@@ -150,7 +150,7 @@ function filter_Emoji($str)
     $str = preg_replace_callback(    //执行一个正则表达式搜索并且使用一个回调进行替换
         '/./u',
         function (array $match) {
-            return strlen($match[0]) >= 4 ? '' : $match[0];
+            return strlen($match[0]) >= 4 ? '' : $match[0];
         },
         $str);