misprint_oc_delivery

This commit is contained in:
DmitreyZl 2021-04-14 12:32:42 +03:00 committed by GitHub
parent 9e85d3bffb
commit a0337479ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'];