This commit is contained in:
Vitaly Artemev 2016-03-03 17:16:43 +03:00
parent 19ea11a956
commit fc8f328776

View File

@ -93,7 +93,7 @@ class ModelRetailcrmHistory extends Model
$crm->customersFixExternalIds($this->createResult['customers']); $crm->customersFixExternalIds($this->createResult['customers']);
} }
if (!empty($this->createResult['customers'])) { if (!empty($this->createResult['orders'])) {
$crm->ordersFixExternalIds($this->createResult['orders']); $crm->ordersFixExternalIds($this->createResult['orders']);
} }