stanley-king 4 years ago
parent
commit
061a06d36f
1 changed files with 3 additions and 1 deletions
  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]);
+                    }
                 }
             }