mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Fix preference thing.
This commit is contained in:
@@ -782,7 +782,7 @@ class Steam
|
||||
if (!is_string($preference)) {
|
||||
throw new FireflyException(sprintf('Preference "language" must be a string, but is unexpectedly a "%s".', gettype($preference)));
|
||||
}
|
||||
return $preference;
|
||||
return str_replace('-', '_', $preference);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user