fix order save when corporate isn`t enabled and CRM_CC is undefined (#135)
This commit is contained in:
parent
d64dd971d3
commit
c39f0eb888
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user