1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

fix order save when corporate isn`t enabled and CRM_CC is undefined

This commit is contained in:
Dmitry 2020-09-07 17:54:16 +03:00
parent d64dd971d3
commit f7d86e6111

View file

@ -195,7 +195,7 @@ class RetailCrmEvent
$orderCompany = null;
if ("Y" == $optionCorpClient && $optionsContragentType[$arOrder['PERSON_TYPE_ID']] == 'legal-entity') {
if ("Y" === $optionCorpClient && $optionsContragentType[$arOrder['PERSON_TYPE_ID']] == 'legal-entity') {
//corparate cliente
$nickName = '';
$address = '';