fix custom order type func
This commit is contained in:
parent
14d7d2d201
commit
3590e998f5
1 changed files with 2 additions and 0 deletions
|
@ -1160,6 +1160,8 @@ class ICrmOrderActions
|
|||
$orderType = intarocrm_get_order_type($arFields);
|
||||
if($orderType)
|
||||
$resOrder['orderType'] = $orderType;
|
||||
else
|
||||
$orderType['orderType'] = 'new';
|
||||
}
|
||||
|
||||
$resOrder = self::clearArr($resOrder);
|
||||
|
|
Loading…
Add table
Reference in a new issue