Skip to content

Firefly III: a personal finances manager

Fix #3638

James Cole6d627be67978
diff --git a/app/Support/Steam.php b/app/Support/Steam.php
index 7d42d8dc32..783f98f1e3 100644
--- a/app/Support/Steam.php
+++ b/app/Support/Steam.php
@@ -612,7 +612,7 @@ class Steam
/** @var string $language */
$locale = app('preferences')->get('locale', config('firefly.default_locale', 'equal'))->data;
if ('equal' === $locale) {
- return $this->getLanguage();
+ $locale = $this->getLanguage();
}
// Check for Windows to replace the locale correctly.