mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
When a timezone is manually selected, the timezone needs to be explicity set in the session otherwise the setting changes to a blank timezone (#15890)
This commit is contained in:
@@ -29,6 +29,7 @@ class LoadUserPreferences
|
||||
});
|
||||
|
||||
$this->setPreference($request, 'timezone', function ($timezone) use ($request) {
|
||||
$request->session()->put('preferences.timezone', $timezone);
|
||||
$request->session()->put('preferences.timezone_static', true);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user