Fix equation.

This commit is contained in:
James Cole
2025-08-10 06:53:21 +02:00
parent 5780c9512a
commit b8062a915c

View File

@@ -515,7 +515,7 @@ class Steam
if (null === $preference) {
$singleton->setPreference($key, $currency);
}
if ($currency->id !== $primary->id) {
if ($currency->id === $primary->id) {
return $amount;
}
$current = $converter->convert($currency, $primary, $date, $amount);