Skip to content

Commit bcd9515

Browse files
authored
Merge branch 'main' into fix/activities-again
Signed-off-by: René Gieling <github@dartcafe.de>
2 parents 842ac46 + d1884de commit bcd9515

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
88
## [unpublished]
99
### Fixed
1010
- Fixed some activity bugs
11+
- Fixed nullish user settings
1112

1213
## [8.4.2] - 2025-08-31
1314
### Fixed

lib/Db/Preferences.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function setUserSettings(array $settings): void {
6464
}
6565

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

7070
public function getCheckCalendarsHoursBefore(): int {

0 commit comments

Comments
 (0)