diff --git a/files/templates/comments.html b/files/templates/comments.html index 2c521d004..af0e1aa58 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -432,7 +432,7 @@ {% endif %} - {% if v.admin_level >= 2 %}Votes{% endif %} + {% if v and v.admin_level >= 2 %}Votes{% endif %} Context @@ -629,7 +629,7 @@