소스 검색

update fix

ssvfdn 3 달 전
부모
커밋
ed1cfdb082
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;