We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7f306a + a365152 commit 8de0744Copy full SHA for 8de0744
1 file changed
lib/Service/CommentService.php
@@ -72,7 +72,7 @@ private function get(int $cardId, int $commentId): IComment {
72
throw new NotFoundException('No comment found.');
73
}
74
if ($comment->getParentId() !== '0') {
75
- $this->permissionService->checkPermission($this->cardMapper, (int)$comment->getParentId(), Acl::PERMISSION_READ);
+ $this->permissionService->checkPermission($this->cardMapper, (int)$comment->getObjectId(), Acl::PERMISSION_READ);
76
77
78
return $comment;
0 commit comments