commit
a56965dcba
@ -100,12 +100,15 @@ class RetailCrmEvent
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($GLOBALS['RETAILCRM_ORDER_OLD_EVENT'] === false
|
if ($GLOBALS['RETAILCRM_ORDER_OLD_EVENT'] === false
|
||||||
&& $GLOBALS['RETAIL_CRM_HISTORY'] === true
|
|
||||||
&& $GLOBALS['RETAILCRM_ORDER_DELETE'] === true
|
&& $GLOBALS['RETAILCRM_ORDER_DELETE'] === true
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($GLOBALS['RETAIL_CRM_HISTORY'] === true) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!CModule::IncludeModule('iblock')) {
|
if (!CModule::IncludeModule('iblock')) {
|
||||||
RCrmActions::eventLog('RetailCrmEvent::orderSave', 'iblock', 'module not found');
|
RCrmActions::eventLog('RetailCrmEvent::orderSave', 'iblock', 'module not found');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user