1
0
mirror of synced 2024-12-01 17:56:07 +03:00

fix custom order type func

This commit is contained in:
Grisha Pomadchin 2014-02-12 11:19:46 +04:00
parent 14d7d2d201
commit 3590e998f5

View File

@ -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);