mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Auto commit for release 'v6.2.5' on 2025-02-09
This commit is contained in:
@@ -88,8 +88,9 @@ class ExchangeRateConverter
|
||||
|
||||
return '1';
|
||||
}
|
||||
if($from->id === $to->id) {
|
||||
if ($from->id === $to->id) {
|
||||
Log::debug('ExchangeRateConverter: From and to are the same, return "1".');
|
||||
|
||||
return '1';
|
||||
}
|
||||
$rate = $this->getRate($from, $to, $date);
|
||||
@@ -159,6 +160,7 @@ class ExchangeRateConverter
|
||||
{
|
||||
if ($from === $to) {
|
||||
Log::debug('ExchangeRateConverter: From and to are the same, return "1".');
|
||||
|
||||
return '1';
|
||||
}
|
||||
$key = sprintf('cer-%d-%d-%s', $from, $to, $date);
|
||||
|
Reference in New Issue
Block a user