forked from rDrama/rDrama
1
0
Fork 0

fix 500 error

master
Aevann 2023-03-22 22:40:03 +02:00
parent dce8a25b0a
commit 4f060629ed
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}
<div id="comment-{{c.id}}" class="anchor comment {% if wall %}mt-4{% elif standalone and level==1 %}mt-0{% endif %} {% if collapse or c.collapse_for_user(v,request.full_path) %}collapsed{% endif %}" style="{% if isreply %}padding-left:0!important{% endif %}">
{% if not isreply %}