From a36515221da994bbea7270eb4de540e516875b37 Mon Sep 17 00:00:00 2001 From: grnd-alt Date: Tue, 28 Apr 2026 12:35:36 +0200 Subject: [PATCH] fix(comments): allow updating replies Signed-off-by: grnd-alt --- lib/Service/CommentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/CommentService.php b/lib/Service/CommentService.php index f773e41dcc..e5d4bc140e 100644 --- a/lib/Service/CommentService.php +++ b/lib/Service/CommentService.php @@ -72,7 +72,7 @@ private function get(int $cardId, int $commentId): IComment { throw new NotFoundException('No comment found.'); } if ($comment->getParentId() !== '0') { - $this->permissionService->checkPermission($this->cardMapper, (int)$comment->getParentId(), Acl::PERMISSION_READ); + $this->permissionService->checkPermission($this->cardMapper, (int)$comment->getObjectId(), Acl::PERMISSION_READ); } return $comment;