From 96563c6d35b18abf3f004128ce1c42ea527e8438 Mon Sep 17 00:00:00 2001 From: Julian Rota Date: Sun, 31 Jul 2022 17:41:14 -0400 Subject: [PATCH] Add check for user existing --- files/templates/comments.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@