Skip to content

Commit

Permalink
Update ecb.php
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 authored Aug 16, 2024
1 parent 19d9f57 commit 5d17443
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 @@ -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');

Check failure on line 57 in upload/catalog/model/extension/currency/ecb.php

View workflow job for this annotation

GitHub Actions / tests (8.2)

Variable $default might not be defined.

Check failure on line 57 in upload/catalog/model/extension/currency/ecb.php

View workflow job for this annotation

GitHub Actions / tests (8.3)

Variable $default might not be defined.

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

0 comments on commit 5d17443

Please sign in to comment.