Compatibility regression fix for previous commit.
[fa-stable.git] / sales / includes / cart_class.inc
index 4bef4cd102432d1a02329941bd0b00c8ffa4805a..e867cea0ec6324159096b64c761448d419907108 100644 (file)
@@ -225,7 +225,7 @@ class Cart
                                        $sodata = get_sales_order_header($this->order_no, ST_SALESORDER);
                                        $this->cust_ref = $sodata["customer_ref"];
                                // currently currency is hard linked to debtor account
-                                       $this->delivery_to = $sodata["deliver_to"];
+                                       $this->deliver_to = $sodata["deliver_to"];
                                        $this->delivery_address = $sodata["delivery_address"];
                                // child transaction reedition - update with parent info unless it is freehand
                                if (!$this->is_prepaid() && !$prepare_child) // this is read for view/reedition