From 3ba71e1b5f80ec58636bdaee9e82c8ac015dd1b9 Mon Sep 17 00:00:00 2001 From: Simounet Date: Wed, 18 Mar 2026 21:16:08 +0100 Subject: [PATCH] fix(notes): Undefined node array key, using folder instead Signed-off-by: Simounet --- lib/Service/NoteUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/NoteUtil.php b/lib/Service/NoteUtil.php index 38f066348..dd03aa6d5 100644 --- a/lib/Service/NoteUtil.php +++ b/lib/Service/NoteUtil.php @@ -198,7 +198,7 @@ public function getOrCreateNotesFolder(string $userId, bool $create = true) : Fo $userFolder = $this->getRoot()->getUserFolder($userId); $notesPath = $this->settingsService->get($userId, 'notesPath'); - ['path' => $defaultPath, 'node' => $folder] = $this->settingsService->getDefaultNotesNode($userId); + ['path' => $defaultPath, 'folder' => $folder] = $this->settingsService->getDefaultNotesNode($userId); $allowShared = $notesPath !== $defaultPath; if ($allowShared) {