From a16a08aa5de5eb0f67e6ee06ebb58caa838cd2ba Mon Sep 17 00:00:00 2001 From: Ilyas Salikhov Date: Tue, 4 Nov 2014 21:03:28 +0300 Subject: [PATCH] Wrong ms_id sending --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 5c8a867a..6caff507 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -1284,7 +1284,7 @@ class ICrmOrderActions if($arParams['optionsDelivTypes'][$resultDeliveryTypeId] == self::$MUTLISHIP_DELIVERY_TYPE) { if(CModule::IncludeModule(self::$MULTISHIP_MODULE_VER)) { $multishipArr = DBOrdersMlsp::GetByOI($arFields['ID']); - $delivery['data'] = json_encode(array('ms_id' => $multishipArr['MULTISHIP_ID'])); + $delivery['data'] = array('ms_id' => $multishipArr['MULTISHIP_ID']); $delivery['integrationCode'] = 'multiship'; } }