This commit is contained in:
James Cole 2025-02-06 18:28:42 +01:00
parent 785bd7e905
commit a977c567ce
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -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) {