diff --git a/plone/app/discussion/browser/comments.py b/plone/app/discussion/browser/comments.py index b45b496..8bdc8c0 100644 --- a/plone/app/discussion/browser/comments.py +++ b/plone/app/discussion/browser/comments.py @@ -146,4 +146,4 @@ class ReplyToComment(BrowserView): new_re_id = replies.addComment(comment) # Redirect to comment (inside a content object page) - self.request.response.redirect(aq_parent(aq_inner(self.context)).absolute_url() + '#comment-' + str(comment_id)) + self.request.response.redirect(aq_parent(aq_inner(self.context)).absolute_url() + '#comment-' + str(reply_to_comment_id))