Skip to content

Commit e73bec8

Browse files
authored
Merge pull request #63943 from nextcloud/backport/63929/stable35
[stable35] fix(navigation): Fix undefined array key when default app is disabled
2 parents 3ed7ffd + eba822b commit e73bec8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/NavigationManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ public function setUnreadCounter(string $id, int $unreadCounter): void {
386386
#[Override]
387387
public function get(string $id): ?array {
388388
$this->resolveAppNavigationEntries();
389-
return $this->entries[$id];
389+
return $this->entries[$id] ?? null;
390390
}
391391

392392
#[Override]

0 commit comments

Comments
 (0)