From 3590e998f5642cba612cc6e11606a009f2a92e9e Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Wed, 12 Feb 2014 11:19:46 +0400 Subject: [PATCH] fix custom order type func --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 2 ++ 1 file changed, 2 insertions(+) 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);