From 6665799bfc5396fc6ddadd805576dd6065da0de4 Mon Sep 17 00:00:00 2001 From: Sergey Date: Thu, 28 Mar 2019 16:36:03 +0300 Subject: [PATCH] fix history --- .../classes/general/history/RetailCrmHistory_v5.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php index ed990169..2e7265cc 100644 --- a/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php +++ b/intaro.retailcrm/classes/general/history/RetailCrmHistory_v5.php @@ -606,7 +606,7 @@ class RetailCrmHistory foreach ($optionsLegalDetails[$personType] as $key => $orderProp) { if (array_key_exists($key, $order)) { $somePropValue = $propertyCollection->getItemByOrderPropertyId($propsKey[$orderProp]['ID']); - self::setProp($somePropValue, $order['contragent'][$key]); + self::setProp($somePropValue, $order[$key]); } } }