fix order save when corporate isn`t enabled and CRM_CC is undefined (#135)
This commit is contained in:
parent
d64dd971d3
commit
c39f0eb888
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue