diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ca61f1e..5921840d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -## 2019-03-24 v.2.4.5 +## 2019-03-28 v.2.4.6 +* Исправление проверки информации о контрагенте при обработке полученных изменений + +## 2019-03-28 v.2.4.5 * Обновлен конфигурационный файл для валидатора ## 2019-01-22 v.2.4.4 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]); } } } diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index 5445f123..148ab98d 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,5 +1,5 @@ "2.4.5", - "VERSION_DATE" => "2019-03-28 14:32:00" + "VERSION" => "2.4.6", + "VERSION_DATE" => "2019-03-28 16:44:00" );