Dumb nullpointer

This commit is contained in:
James Cole
2023-12-27 20:11:50 +01:00
parent de5cb4c165
commit b32d9aab34

View File

@@ -187,7 +187,7 @@ class ExchangeRateConverter
if ('' === $rate) { if ('' === $rate) {
return null; return null;
} }
if (0 === bccomp('0', $preparedRate)) { if (0 === bccomp('0', $rate)) {
return null; return null;
} }