wesmiler 1 day ago
parent
commit
9363fa3ce4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Helpers/common.php

+ 1 - 1
app/Helpers/common.php

@@ -727,7 +727,7 @@ if (!function_exists('format_names')) {
         $length = mb_strlen($name,'utf-8');
         $parts = [];
         for ($i = 0; $i < $length; $i += $len) {
-            if($i<=$len*2){
+            if($i<$len*2){
                 $parts[] = mb_substr($name, $i, $len); // 从$i开始,取N个字符
             }
         }