diff --git a/pagure/templates/repo_pull_request.html b/pagure/templates/repo_pull_request.html
index c539571..a4decd6 100644
--- a/pagure/templates/repo_pull_request.html
+++ b/pagure/templates/repo_pull_request.html
@@ -64,7 +64,7 @@
Merged {{ pull_request.closed_at |humanize }}
by
- {{ pull_request.user.user }}.
+ {{ pull_request.closed_by.user }}.
Opened {{ pull_request.date_created |humanize }}
@@ -74,7 +74,7 @@
Cancelled {{ pull_request.closed_at |humanize }}
by
- {{ pull_request.user.user }}.
+ {{ pull_request.closed_by.user }}.
Opened {{ pull_request.date_created |humanize }}