shish 3 år sedan
förälder
incheckning
66e4d2160e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app-ghs/controllers/CustomController.php

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

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