From b32d9aab34fc100682a87a559a71efdf61deb67b Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 27 Dec 2023 20:11:50 +0100 Subject: [PATCH] Dumb nullpointer --- app/Support/Http/Api/ExchangeRateConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Http/Api/ExchangeRateConverter.php b/app/Support/Http/Api/ExchangeRateConverter.php index c64e8f34e3..e429def2a7 100644 --- a/app/Support/Http/Api/ExchangeRateConverter.php +++ b/app/Support/Http/Api/ExchangeRateConverter.php @@ -187,7 +187,7 @@ class ExchangeRateConverter if ('' === $rate) { return null; } - if (0 === bccomp('0', $preparedRate)) { + if (0 === bccomp('0', $rate)) { return null; }