Skip to content

Firefly III: a personal finances manager

Fix equation.

James Coleb8062a915c1c
diff --git a/app/Support/Steam.php b/app/Support/Steam.php
index d866a13566..0148adb468 100644
--- a/app/Support/Steam.php
+++ b/app/Support/Steam.php
@@ -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);