mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Updated user language select to use correct default
- Updated localisation system to take note of system defaul locale before replacing the current locale Fixes #1316
This commit is contained in:
@ -41,6 +41,7 @@ class SettingService
|
||||
if ($default === false) {
|
||||
$default = config('setting-defaults.' . $key, false);
|
||||
}
|
||||
|
||||
if (isset($this->localCache[$key])) {
|
||||
return $this->localCache[$key];
|
||||
}
|
||||
|
Reference in New Issue
Block a user