Skip to content

Commit 3ba71e1

Browse files
committed
fix(notes): Undefined node array key, using folder instead
Signed-off-by: Simounet <contact@simounet.net>
1 parent 3c5df51 commit 3ba71e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/NoteUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function getOrCreateNotesFolder(string $userId, bool $create = true) : Fo
198198
$userFolder = $this->getRoot()->getUserFolder($userId);
199199
$notesPath = $this->settingsService->get($userId, 'notesPath');
200200

201-
['path' => $defaultPath, 'node' => $folder] = $this->settingsService->getDefaultNotesNode($userId);
201+
['path' => $defaultPath, 'folder' => $folder] = $this->settingsService->getDefaultNotesNode($userId);
202202
$allowShared = $notesPath !== $defaultPath;
203203

204204
if ($allowShared) {

0 commit comments

Comments
 (0)