Skip to content

Commit

Permalink
Fixed default currency setting in cron
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Sep 3, 2024
1 parent ea337e4 commit fca7b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
}
}

if ($currencies) {
$default = $registry->get('config')->get('config_currency');
$default = $registry->get('config')->get('config_currency');

if (isset($currencies[$default])) {
$results = $registry->get('load')->model('localisation/currency')->model_localisation_currency->getCurrencies();

foreach ($results as $result) {
Expand Down

0 comments on commit fca7b39

Please sign in to comment.