From 5d17443ef91abb0077dd7a47f7452a5456d80b07 Mon Sep 17 00:00:00 2001 From: condor2 Date: Fri, 16 Aug 2024 17:15:08 +0300 Subject: [PATCH] Update ecb.php --- upload/catalog/model/extension/currency/ecb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }