mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-04-04 05:43:37 +03:00
fix check api version (#41)
This commit is contained in:
parent
1052781689
commit
82d93de94b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue