소스 검색

fix net error justify

stanley-king 3 년 전
부모
커밋
171c0d01da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      helper/refill/util.php

+ 1 - 1
helper/refill/util.php

@@ -593,7 +593,7 @@ class util
 
     public static function need_check($net_errno)
     {
-        if($net_errno === 0) return false;
+        if(empty($net_errno)) return false;
 
         [$type,$code] = explode('-',$net_errno);
         $code = intval($code);