Browse Source

fix callback is_url error

stanley-king 4 năm trước cách đây
mục cha
commit
b809d438e3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      helper/refill/RefillFactory.php

+ 1 - 1
helper/refill/RefillFactory.php

@@ -428,7 +428,7 @@ class RefillFactory
             return (substr($haystack, 0, $length) === $needle);
         };
 
-        return $checker("http://",$url) || $checker("https://",$url);
+        return $checker($url,"http://") || $checker($url,"https://");
     }
 
     public function notify_merchant($order_id)