diff --git a/admin/model/retailcrm/order.php b/admin/model/retailcrm/order.php index 411a983..d347ac4 100644 --- a/admin/model/retailcrm/order.php +++ b/admin/model/retailcrm/order.php @@ -15,8 +15,8 @@ class ModelRetailcrmOrder extends Model { require_once DIR_SYSTEM . 'library/retailcrm/bootstrap.php'; $this->retailcrmApi = new RetailcrmProxy( - $settings['retailcrm_url'], - $settings['retailcrm_apikey'], + $this->settings['retailcrm_url'], + $this->settings['retailcrm_apikey'], $this->setLogs() );