dever 3 years ago
parent
commit
c7a8d88f7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/mshop/lib/Buy.php

+ 1 - 1
app/mshop/lib/Buy.php

@@ -1106,8 +1106,8 @@ class Buy
 
                 Dever::db('shop/buy_order_goods')->delete(array('order_id' => $key));
 
-                unset($this->order_id[$key]);
                 $this->order_id[$order['id']] = array($this->order_id[$key][0], $this->order_id[$key][1]);
+                unset($this->order_id[$key]);
 
             } else {
                 if (!$yes) {