From 35ea2532f28499c73f8ecded892d789f19e3cbe2 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Thu, 25 Oct 2018 10:35:15 +0300 Subject: [PATCH] Fix catalog --- intaro.retailcrm/classes/general/icml/RetailCrmICML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php index d55f3b89..a46be235 100644 --- a/intaro.retailcrm/classes/general/icml/RetailCrmICML.php +++ b/intaro.retailcrm/classes/general/icml/RetailCrmICML.php @@ -74,7 +74,7 @@ class RetailCrmICML $defaultSite = CSite::GetList($by = "def", $order = "desc", array('DEF' => 'Y'))->Fetch(); $this->encodingDefault = $defaultSite["CHARSET"]; - $url = 'https://' . $this->serverName; + $url = 'https://' . $this->defaultServerName; $curlHandler = curl_init(); curl_setopt($curlHandler, CURLOPT_URL, $url); $responseBody = curl_exec($curlHandler);