stanley-king 4 年之前
父節點
當前提交
061a06d36f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      rdispatcher/proxy.php

+ 3 - 1
rdispatcher/proxy.php

@@ -51,7 +51,9 @@ class proxy
                     $fNotify = false;
                     $params['order_id'] = $order_id;
                     refill\util::push_add($params);
-                    $refill_order->edit($order_id, ['is_retrying' => 1]);
+                    if($order_id > 0) {
+                        $refill_order->edit($order_id, ['is_retrying' => 1]);
+                    }
                 }
             }