diff --git a/files/templates/comments.html b/files/templates/comments.html index 65bc2ecc8a..04f223017b 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 v and c.author_id == v.id %} +{% set highlight_for_profile = request.path.startswith('/@') and request.path.endswith('/comments') and c.author_id == u.id %}