Loyalty feature installer (#118)
* fixes for crash during the installation * add LP activate option
This commit is contained in:
parent
3d2b699523
commit
55935dddde
2 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -104,7 +104,7 @@ class ServiceLocator
|
|||
|
||||
return $service;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets service into ServiceContainer.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue