diff --git a/upload/admin/model/extension/currency/ecb.php b/upload/admin/model/extension/currency/ecb.php index 4a930b3b..1e3a806d 100644 --- a/upload/admin/model/extension/currency/ecb.php +++ b/upload/admin/model/extension/currency/ecb.php @@ -51,12 +51,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'); } return true;