diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html
index d6a9abe..494584b 100644
--- a/pagure/templates/pull_request.html
+++ b/pagure/templates/pull_request.html
@@ -297,7 +297,7 @@
{% for comment in pull_request.discussion %}
{% if not comment.commit_id %}
- {{ show_comment(comment, loop.index, repo, username,
+ {{ show_comment(comment, comment.id, repo, username,
requestid, form, repo_admin) }}
{% endif %}
{% endfor %}