Compare commits
2 Commits
ea579614b3
...
361671a362
Author | SHA1 | Date | |
---|---|---|---|
361671a362 | |||
b2babcf30f |
@ -41,7 +41,7 @@ class ExchangeRateCalculator
|
||||
|
||||
$currentExchangeRate = null;
|
||||
foreach ($this->exchangeRates[$currency->getId()] as $exchangeRate) {
|
||||
if ($exchangeRate->getValidFrom() > $time) {
|
||||
if ($exchangeRate->getValidFromDate() > $time) {
|
||||
break;
|
||||
}
|
||||
$currentExchangeRate = $exchangeRate;
|
||||
|
Loading…
Reference in New Issue
Block a user