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();'; } /**