1
0
mirror of synced 2025-01-19 17:31:43 +03:00

site rewrite fixed

This commit is contained in:
KMityai 2022-04-13 16:54:59 +03:00
parent 559bf79f7b
commit e8aedb39be

View File

@ -154,6 +154,8 @@ class RetailCrmEvent
$site = null; $site = null;
} }
$api->setSite($site);
//new order? //new order?
$orderCrm = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $arOrder['ID'], $site); $orderCrm = RCrmActions::apiMethod($api, 'ordersGet', __METHOD__, $arOrder['ID'], $site);
@ -360,7 +362,7 @@ class RetailCrmEvent
$nickName, $nickName,
$address, $address,
$api, $api,
$site = null $site
); );
$arParams['customerCorporate'] = $userCorp['customerCorporate']; $arParams['customerCorporate'] = $userCorp['customerCorporate'];