diff --git a/src/upload/system/library/retailcrm/RetailcrmHistoryHelper.php b/src/upload/system/library/retailcrm/RetailcrmHistoryHelper.php index 8a08e17..274c015 100644 --- a/src/upload/system/library/retailcrm/RetailcrmHistoryHelper.php +++ b/src/upload/system/library/retailcrm/RetailcrmHistoryHelper.php @@ -93,7 +93,7 @@ class RetailcrmHistoryHelper { { $customers = array(); foreach ($customerHistory as $change) { - $change['order'] = self::removeEmpty($change['customer']); + $change['customer'] = self::removeEmpty($change['customer']); if(!empty($customers[$change['customer']['id']]) && $customers[$change['customer']['id']]) { $customers[$change['customer']['id']] = array_merge($customers[$change['customer']['id']], $change['customer']);