Skip to content

Firefly III: a personal finances manager

Fix #8278, not 8276!

James Colee40bb81d80e2
diff --git a/app/Support/Http/Api/ExchangeRateConverter.php b/app/Support/Http/Api/ExchangeRateConverter.php
index 24f421d838..4b2439246e 100644
--- a/app/Support/Http/Api/ExchangeRateConverter.php
+++ b/app/Support/Http/Api/ExchangeRateConverter.php
@@ -135,6 +135,8 @@ class ExchangeRateConverter
}
$rate = $this->getFromDB($currency->id, $euroId, $date->format('Y-m-d'));
+
+
if (null !== $rate) {
// app('log')->debug(sprintf('Rate for %s to EUR is %s.', $currency->code, $rate));
return $rate;