ssvfdn 3 сар өмнө
parent
commit
ed1cfdb082

+ 1 - 1
app/controller/PlayerControl.php

@@ -47,7 +47,7 @@ class PlayerControl extends BaseController
         $emptyUnameList = [];
         foreach ($account_ids as $account_id) {
             $account_id = trim($account_id);
-            if(!empty($account_id) && is_int($account_id)) {
+            if(!empty($account_id) && preg_match("/^[1-9]\d*$/", $account_id)) {
                 $unameList[] = $account_id;
             }else {
                 $emptyUnameList[] = $account_id;