ssvfdn hai 3 meses
pai
achega
ed1cfdb082
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;