diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 73a571ab..c13fc5f3 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -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);