mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-01-22 18:51:42 +03:00
fix check api version (#41)
This commit is contained in:
parent
1052781689
commit
82d93de94b
@ -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