Merge pull request #3 from VitalyArt/bugfix

Bugfix
This commit is contained in:
Alex Lushpai 2016-03-11 14:24:21 +03:00
commit 8852b023e0

View File

@ -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']);
}