mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 07:53:16 +00:00
Fix equation.
This commit is contained in:
@@ -515,7 +515,7 @@ class Steam
|
|||||||
if (null === $preference) {
|
if (null === $preference) {
|
||||||
$singleton->setPreference($key, $currency);
|
$singleton->setPreference($key, $currency);
|
||||||
}
|
}
|
||||||
if ($currency->id !== $primary->id) {
|
if ($currency->id === $primary->id) {
|
||||||
return $amount;
|
return $amount;
|
||||||
}
|
}
|
||||||
$current = $converter->convert($currency, $primary, $date, $amount);
|
$current = $converter->convert($currency, $primary, $date, $amount);
|
||||||
|
Reference in New Issue
Block a user