diff --git a/upload/catalog/model/extension/currency/ecb.php b/upload/catalog/model/extension/currency/ecb.php index b7056cdb..8d746f66 100644 --- a/upload/catalog/model/extension/currency/ecb.php +++ b/upload/catalog/model/extension/currency/ecb.php @@ -49,12 +49,12 @@ public function refresh() { $to = $currencies[$result['code']]; - $this->editValueByCode($result['code'], 1 / ($currencies[$default] * ($from / $to))); + $this->model_extension_currency_ecb->editValueByCode($result['code'], 1 / ($currencies[$default] * ($from / $to))); } } } - $this->editValueByCode($default, '1.00000'); + $this->model_extension_currency_ecb->editValueByCode($default, '1.00000'); $this->cache->delete('currency'); }