aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Comments/Manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Comments/Manager.php')
-rw-r--r--lib/private/Comments/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php
index 309b682767b..5b256c379b6 100644
--- a/lib/private/Comments/Manager.php
+++ b/lib/private/Comments/Manager.php
@@ -159,7 +159,7 @@ class Manager implements ICommentsManager {
if ($comment->getParentId() === '0') {
return $comment->getId();
} else {
- return $this->determineTopmostParentId($comment->getId());
+ return $this->determineTopmostParentId($comment->getParentId());
}
}