From 4f060629ed03f75d21ddc17267cc9a1941dd7c9a Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 22 Mar 2023 22:40:03 +0200 Subject: [PATCH] fix 500 error --- files/templates/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index ebfa25735..08b46b24b 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -113,7 +113,7 @@ {% set isreply = False %} {% endif %} -{% set highlight_for_profile = request.path.startswith('/@') and request.path.endswith('/comments') and c.author_id == u.id %} +{% set highlight_for_profile = request.path.startswith('/@') and request.path.endswith('/comments') and u and c.author_id == u.id %}
{% if not isreply %}