fix custom order type func
This commit is contained in:
parent
14d7d2d201
commit
3590e998f5
@ -1160,6 +1160,8 @@ class ICrmOrderActions
|
|||||||
$orderType = intarocrm_get_order_type($arFields);
|
$orderType = intarocrm_get_order_type($arFields);
|
||||||
if($orderType)
|
if($orderType)
|
||||||
$resOrder['orderType'] = $orderType;
|
$resOrder['orderType'] = $orderType;
|
||||||
|
else
|
||||||
|
$orderType['orderType'] = 'new';
|
||||||
}
|
}
|
||||||
|
|
||||||
$resOrder = self::clearArr($resOrder);
|
$resOrder = self::clearArr($resOrder);
|
||||||
|
Loading…
Reference in New Issue
Block a user