mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-01-22 18:51:42 +03:00
fix check api version
This commit is contained in:
parent
4890619c9a
commit
0797b9b7f1
@ -546,7 +546,7 @@ class ControllerExtensionModuleRetailcrm extends Controller
|
||||
|
||||
$response = $this->retailcrm->statisticUpdate();
|
||||
|
||||
if (!$response->isSuccessful()) {
|
||||
if ($response['errorMsg'] == 'API method not found') {
|
||||
$this->_error['warning'] = $this->language->get('text_error_api');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user