浏览代码

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)
     public static function need_check($net_errno)
     {
     {
-        if($net_errno === 0) return false;
+        if(empty($net_errno)) return false;
 
 
         [$type,$code] = explode('-',$net_errno);
         [$type,$code] = explode('-',$net_errno);
         $code = intval($code);
         $code = intval($code);