From 243ec1ee9929e65d7bd0a9865d2f1f1861c5fa14 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Mon, 18 Apr 2022 16:43:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87=D0=B0?= =?UTF-8?q?=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D0=B0=20sit?= =?UTF-8?q?e=20=D0=B4=D0=BB=D1=8F=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=D0=BE?= =?UTF-8?q?=D0=B0=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20=D0=B7=D0=B0=D0=BA?= =?UTF-8?q?=D0=B0=D0=B7=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php b/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php index 72d40c3d..cf2ad645 100644 --- a/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php +++ b/intaro.retailcrm/classes/general/order/RetailCrmOrder_v5.php @@ -179,7 +179,7 @@ class RetailCrmOrder $length = 0; if ('ordersEdit' === $methodApi) { - $response = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $order['externalId']); + $response = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $order['externalId'], $site); if (isset($response['order'])) { foreach ($response['order']['items'] as $k => $item) { $externalId = $k .'_'. $item['offer']['externalId'];