Skip to content

Firefly III: a personal finances manager

Fix #9787

James Colea977c567ceb1
diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.php
index 8f88e69cb3..f43b8f07d4 100644
--- a/app/Support/Twig/General.php
+++ b/app/Support/Twig/General.php
@@ -72,6 +72,7 @@ class General extends AbstractExtension
$default = Amount::getNativeCurrency();
$convertToNative = Amount::convertToNative();
$useNative = $convertToNative && $default->id !== $currency->id;
+ $currency = null === $currency ? $default : $currency;
$strings = [];
foreach ($info as $key => $balance) {
if ('balance' === $key) {