Browse Source

update fix

ssvfdn 3 months ago
parent
commit
ed1cfdb082
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/PlayerControl.php

+ 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;