From a0337479ae02685b7e87d5b2170073c045c30a67 Mon Sep 17 00:00:00 2001 From: DmitreyZl <70319100+DmitreyZl@users.noreply.github.com> Date: Wed, 14 Apr 2021 12:32:42 +0300 Subject: [PATCH] misprint_oc_delivery --- src/upload/system/library/retailcrm/lib/history/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upload/system/library/retailcrm/lib/history/Order.php b/src/upload/system/library/retailcrm/lib/history/Order.php index 07cedbf..6310b7a 100644 --- a/src/upload/system/library/retailcrm/lib/history/Order.php +++ b/src/upload/system/library/retailcrm/lib/history/Order.php @@ -209,7 +209,7 @@ class Order { $shipping = explode('.', $data['shipping_code']); $shippingModule = $shipping[0]; - if (isset($this->ocDelivery[$shippingModule][$data['shipping_code']]['title'])) { + if (isset($this->oc_delivery[$shippingModule][$data['shipping_code']]['title'])) { $data['shipping_method'] = $this->oc_delivery[$shippingModule][$data['shipping_code']]['title']; } else { $data['shipping_method'] = $this->oc_delivery[$shippingModule]['title'];