mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix timezone controller bad return (#15191)
was returning null when preferences.timezone was not set (not sure how to get to that case)
This commit is contained in:
@@ -46,6 +46,6 @@ class TimezoneController extends Controller
|
||||
return $request->timezone;
|
||||
}
|
||||
|
||||
return session('preferences.timezone');
|
||||
return session('preferences.timezone', '');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user