fix check api version

This commit is contained in:
iyzoer 2017-08-16 15:04:57 +03:00
parent 4890619c9a
commit 0797b9b7f1

View File

@ -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');
}