Skip to content

Commit

Permalink
fix: Soft-deleting multiple folders breaks interface
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Jun 8, 2024
1 parent 67edb6b commit bf39709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/TreeMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ public function getSoftDeletedRootItems(string $userId, string $type): array {
}
}

return array_filter(array_values($topmostFolders), fn ($value) => $value !== false);
return array_values(array_filter(array_values($topmostFolders), fn ($value) => $value !== false));
}
if ($type === TreeMapper::TYPE_BOOKMARK) {
$params = new QueryParameters();
Expand Down

0 comments on commit bf39709

Please sign in to comment.