From 2bb2331047e2b4670f8bd53b20c4ab4dc4d45a15 Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Wed, 28 Aug 2013 12:43:37 +0400 Subject: [PATCH] agent fix --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index b4e6e634..f8aabb24 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -167,11 +167,8 @@ class ICrmOrderActions */ public static function uploadOrdersAgent() { - - if(self::uploadOrders()) - return 'ICrmOrderActions::uploadOrdersAgent();'; - - else return; + self::uploadOrders(); + return 'ICrmOrderActions::uploadOrdersAgent();'; } /**