Skip to content

Commit

Permalink
Merge pull request opencart#13982 from condor2/patch-1
Browse files Browse the repository at this point in the history
[3.0.x.x]Use same catalog ecb call code as admin
  • Loading branch information
danielkerr authored Jun 1, 2024
2 parents f14b80c + 253a45f commit 9d739de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/model/extension/currency/ecb.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ public function refresh() {

$to = $currencies[$result['code']];

$this->model_extension_currency_ecb->editValueByCode($result['code'], 1 / ($currencies[$default] * ($from / $to)));
$this->editValueByCode($result['code'], 1 / ($currencies[$default] * ($from / $to)));
}
}
}

$this->model_extension_currency_ecb->editValueByCode($default, '1.00000');
$this->editValueByCode($default, '1.00000');

$this->cache->delete('currency');
}
Expand Down

0 comments on commit 9d739de

Please sign in to comment.