From 562d16a5975e90b3d263e419bfa7ee427cd46924 Mon Sep 17 00:00:00 2001 From: Sergey Date: Fri, 2 Nov 2018 17:41:00 +0300 Subject: [PATCH] v2.4.0 --- intaro.retailcrm/classes/general/icml/RetailCrmICML.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php index 745aa23c..98425ac4 100644 --- a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php +++ b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php @@ -36,7 +36,7 @@ class RetailCrmICML protected $MODULE_ID = 'intaro.retailcrm'; protected $CRM_CATALOG_BASE_PRICE = 'catalog_base_price'; - protected $PROTOCOL = 'protocol'; + protected $PROTOCOL_OPTION = 'protocol'; protected $measurement = array ( 'mm' => 1, // 1 mm = 1 mm @@ -75,8 +75,7 @@ class RetailCrmICML $defaultSite = CSite::GetList($by = "def", $order = "desc", array('DEF' => 'Y'))->Fetch(); $this->encodingDefault = $defaultSite["CHARSET"]; - $this->protocol = COption::GetOptionString($this->MODULE_ID, $this->PROTOCOL); - $url = $this->protocol . $this->defaultServerName; + $this->protocol = COption::GetOptionString($this->MODULE_ID, $this->PROTOCOL_OPTION); $this->PrepareSettings();