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

fix order save when corporate isn`t enabled and CRM_CC is undefined (#135)

This commit is contained in:
vasilevdm 2020-09-08 14:31:42 +03:00 committed by GitHub
parent d64dd971d3
commit c39f0eb888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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