1
0
mirror of synced 2024-11-22 05:16:09 +03:00

Fixed duplicate creation bug

This commit is contained in:
Frosin 2019-07-30 09:58:15 +03:00
parent 93315c7a5b
commit e706ae7d25

View File

@ -100,12 +100,15 @@ class RetailCrmEvent
}
if ($GLOBALS['RETAILCRM_ORDER_OLD_EVENT'] === false
&& $GLOBALS['RETAIL_CRM_HISTORY'] === true
&& $GLOBALS['RETAILCRM_ORDER_DELETE'] === true
) {
return false;
}
if ($GLOBALS['RETAIL_CRM_HISTORY'] === true) {
return false;
}
if (!CModule::IncludeModule('iblock')) {
RCrmActions::eventLog('RetailCrmEvent::orderSave', 'iblock', 'module not found');