Compare commits

..

No commits in common. "361671a3629cacc1ddb06bf0fc37d71aa50bc06d" and "ea579614b3a3c8a19d739215c5a129b06a40c877" have entirely different histories.

View File

@ -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;