Compare commits
No commits in common. "361671a3629cacc1ddb06bf0fc37d71aa50bc06d" and "ea579614b3a3c8a19d739215c5a129b06a40c877" have entirely different histories.
361671a362
...
ea579614b3
@ -41,7 +41,7 @@ class ExchangeRateCalculator
|
|||||||
|
|
||||||
$currentExchangeRate = null;
|
$currentExchangeRate = null;
|
||||||
foreach ($this->exchangeRates[$currency->getId()] as $exchangeRate) {
|
foreach ($this->exchangeRates[$currency->getId()] as $exchangeRate) {
|
||||||
if ($exchangeRate->getValidFromDate() > $time) {
|
if ($exchangeRate->getValidFrom() > $time) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$currentExchangeRate = $exchangeRate;
|
$currentExchangeRate = $exchangeRate;
|
||||||
|
Loading…
Reference in New Issue
Block a user