From fc8f32877682de584aef93aa3b02ec60dba0008f Mon Sep 17 00:00:00 2001 From: Vitaly Artemev Date: Thu, 3 Mar 2016 17:16:43 +0300 Subject: [PATCH] Bugfix --- admin/model/retailcrm/history.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/model/retailcrm/history.php b/admin/model/retailcrm/history.php index 7b5f78f..2552c72 100644 --- a/admin/model/retailcrm/history.php +++ b/admin/model/retailcrm/history.php @@ -93,7 +93,7 @@ class ModelRetailcrmHistory extends Model $crm->customersFixExternalIds($this->createResult['customers']); } - if (!empty($this->createResult['customers'])) { + if (!empty($this->createResult['orders'])) { $crm->ordersFixExternalIds($this->createResult['orders']); }