Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [unpublished]
### Fixed
- Fixed nullish user settings

## [8.4.2] - 2025-08-31
### Fixed
- Better handling of subscribed calendars for calendar check
Expand Down
2 changes: 1 addition & 1 deletion lib/Db/Preferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function setUserSettings(array $settings): void {
}

public function getUserSettings(): array {
return json_decode($this->getPreferences() ?? '', true);
return json_decode($this->getPreferences() ?? '', true) ?? self::DEFAULT_SETTINGS;
}

public function getCheckCalendarsHoursBefore(): int {
Expand Down