1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

Loyalty feature installer (#118)

* fixes for crash during the installation
* add LP activate option
This commit is contained in:
Сергей Чазов 2020-08-24 09:33:43 +03:00 committed by Павел
parent 3d2b699523
commit 55935dddde
2 changed files with 3 additions and 3 deletions

View file

@ -175,7 +175,7 @@ class intaro_retailcrm extends CModule
return false;
}
include($this->INSTALL_PATH . '/../classes/general/Http/Client.php');
include($this->INSTALL_PATH . '/../classes/general/Response/ApiResponse.php');
include($this->INSTALL_PATH . '/../classes/general/RCrmActions.php');
@ -242,7 +242,7 @@ class intaro_retailcrm extends CModule
} catch (ObjectPropertyException | ArgumentException | SystemException $e) {
return false;
}
if ($step == 11) {
$arResult['arSites'] = RCrmActions::SitesList();
if (count($arResult['arSites']) < 2) {

View file

@ -104,7 +104,7 @@ class ServiceLocator
return $service;
}
/**
* Sets service into ServiceContainer.
*