From 5dd88b798dae2f37980f2fadcc1ceab1096a3d7c Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Thu, 5 Sep 2013 14:01:56 +0400 Subject: [PATCH] disable multiple sites support --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 6 ++++-- intaro.intarocrm/install/step1.php | 10 ---------- intaro.intarocrm/options.php | 10 ---------- 3 files changed, 4 insertions(+), 22 deletions(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 38e6f98f..ace4c061 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -78,8 +78,10 @@ class ICrmOrderActions while ($arOrder = $dbOrder->GetNext()) { // here orders by id asc - if(is_array($optionsSites) && !empty($optionsSites) && !in_array($arOrder['LID'], $optionsSites)) - continue; + if(is_array($optionsSites)) + if(!empty($optionsSites)) + if(!in_array($arOrder['LID'], $optionsSites)) + continue; $result = self::orderCreate($arOrder, $api, $arParams); diff --git a/intaro.intarocrm/install/step1.php b/intaro.intarocrm/install/step1.php index 877d65f1..38843e3e 100755 --- a/intaro.intarocrm/install/step1.php +++ b/intaro.intarocrm/install/step1.php @@ -40,16 +40,6 @@ - - - - - -
diff --git a/intaro.intarocrm/options.php b/intaro.intarocrm/options.php index 0e30a58a..70c27bac 100755 --- a/intaro.intarocrm/options.php +++ b/intaro.intarocrm/options.php @@ -414,16 +414,6 @@ if (isset($_POST['Update']) && ($_POST['Update'] == 'Y')) { - - - - - - BeginNextTab(); ?>