From 480b4345cebd671ac0b69c05de1b798be516b36d Mon Sep 17 00:00:00 2001 From: Chernyavtsev Ivan Date: Thu, 29 May 2014 18:06:47 +0400 Subject: [PATCH] add convert charset for comments in orderHistory method --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 6819961c..95f5cc6e 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -964,9 +964,9 @@ class ICrmOrderActions //'PERSON_TYPE_ID' => $optionsOrderTypes[$order['orderType']], 'DELIVERY_ID' => $resultDeliveryTypeId, 'STATUS_ID' => $optionsPayStatuses[$order['status']], - 'REASON_CANCELED' => $order['statusComment'], - 'USER_DESCRIPTION' => $order['customerComment'], - 'COMMENTS' => $order['managerComment'] + 'REASON_CANCELED' => self::fromJSON($order['statusComment']), + 'USER_DESCRIPTION' => self::fromJSON($order['customerComment']), + 'COMMENTS' => self::fromJSON($order['managerComment']) )); CSaleOrder::Update($order['externalId'], $arFields);