stanley-king 4 年之前
父節點
當前提交
0d8ba7e509
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      helper/refill/RefillBase.php

+ 4 - 0
helper/refill/RefillBase.php

@@ -404,6 +404,10 @@ class RefillBase
         $refill_info = $mod_refill->getOrderInfo(['order_id' => $order_id,'inner_status' => 0]);
         $chname = $refill_info['channel_name'];
 
+        if(empty($chname)) {
+            return false;
+        }
+
         Log::record(__FUNCTION__ . " channel {$chname} 1",Log::DEBUG);
         $provider = $this->mPolicy->provider($chname);