From a7387e868086b4df7a55ac40eff162b2736ffa46 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 03 2018 13:02:55 +0000 Subject: Check there is an user associated with the log entry Fixes https://pagure.io/pagure/issue/3805 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/userdash_activity.html b/pagure/templates/userdash_activity.html index 9f5be92..2a7d99f 100644 --- a/pagure/templates/userdash_activity.html +++ b/pagure/templates/userdash_activity.html @@ -45,7 +45,9 @@
+ {% if log.user %} {{ log.user.username | avatar(26) | safe }} + {% endif %} {% if log.issue %} {% elif log.pull_request %}