diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dbaa6d..1313eee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v4.1.18 +* Fixed constant with version of module. + ## v4.1.17 * Added additional parameters to GET requests. diff --git a/VERSION b/VERSION index 73274fd..60623b5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.1.17 +4.1.18 diff --git a/src/upload/admin/controller/extension/module/retailcrm.php b/src/upload/admin/controller/extension/module/retailcrm.php index 9d5741d..d755a07 100644 --- a/src/upload/admin/controller/extension/module/retailcrm.php +++ b/src/upload/admin/controller/extension/module/retailcrm.php @@ -1,9 +1,9 @@ language->get($text); diff --git a/src/upload/system/library/retailcrm/lib/api/RetailcrmHttpClient.php b/src/upload/system/library/retailcrm/lib/api/RetailcrmHttpClient.php index 4452fcd..fe97abd 100644 --- a/src/upload/system/library/retailcrm/lib/api/RetailcrmHttpClient.php +++ b/src/upload/system/library/retailcrm/lib/api/RetailcrmHttpClient.php @@ -1,5 +1,7 @@ 'OpenCart', 'cms_version' => VERSION, 'php_version' => function_exists('phpversion') ? phpversion() : '', - 'module_version' => ControllerExtensionModuleRetailcrm::VERSION_MODULE, + 'module_version' => Retailcrm::VERSION_MODULE, ]) : $parameters = array_merge($this->defaultParameters, $parameters); diff --git a/src/upload/system/library/retailcrm/retailcrm.php b/src/upload/system/library/retailcrm/retailcrm.php index 3f21c41..5207368 100644 --- a/src/upload/system/library/retailcrm/retailcrm.php +++ b/src/upload/system/library/retailcrm/retailcrm.php @@ -16,6 +16,7 @@ class Retailcrm { const RETAILCRM_DISCOUNT = 'retailcrm_discount'; const RETAILCRM_DISCOUNT_SORT_ORDER = 8; + const VERSION_MODULE = '4.1.18'; protected $registry;