Selaa lähdekoodia

fix net error justify

stanley-king 3 vuotta sitten
vanhempi
commit
171c0d01da
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);