fix orderType escape issue
This commit is contained in:
parent
e5f7b0e1d6
commit
120aa7c713
@ -563,7 +563,7 @@ class ICrmOrderActions
|
||||
// new order
|
||||
$newOrderFields = array(
|
||||
'LID' => $defaultSiteId,
|
||||
'PERSON_TYPE_ID' => $optionsOrderTypes[$order['orderType']],
|
||||
'PERSON_TYPE_ID' => ($optionsOrderTypes[$order['orderType']]) ? $optionsOrderTypes[$order['orderType']] : 1,
|
||||
'PAYED' => 'N',
|
||||
'CANCELED' => 'N',
|
||||
'STATUS_ID' => 'N',
|
||||
|
Loading…
x
Reference in New Issue
Block a user