From e45cde522aa235e801d9f23e01bfd45f3e845730 Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Tue, 11 Nov 2014 14:58:42 +0400 Subject: [PATCH] rm inllegal productId unset --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 6caff507..13e7c9b2 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -1255,10 +1255,6 @@ class ICrmOrderActions 'comment' => $p['NOTES'], ); - //if this item generated through admin interface, then unset productId - if(empty($pr)) - unset($item['productId']); - //if it is canceled product don't send price if (!$propCancel) { $item['initialPrice'] = (double) $p['PRICE'] + (double) $p['DISCOUNT_PRICE'];