From 19d9f57f7252cf1ba8961069ee6a89051e5f74a8 Mon Sep 17 00:00:00 2001 From: condor2 Date: Fri, 16 Aug 2024 17:14:04 +0300 Subject: [PATCH] Update ecb.php --- upload/admin/model/extension/currency/ecb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;