shish 1 год назад
Родитель
Сommit
e3d5de93a8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -628,7 +628,7 @@ class CustomController extends BaseController
         }
         $name = trim($name);
         if (!empty($name)) {
-            if (is_numeric($name) && strlen($name) > 4) {
+            if (is_numeric($name)) {
                 if (stringUtil::isMobile($name)) {
                     $where['mobile'] = $name;
                 } else {