Fixes oversight.

This commit is contained in:
flash 2018-10-02 21:40:46 +02:00
parent a81a54fa1d
commit 787550b000

View file

@ -105,7 +105,7 @@
{% endif %} {% endif %}
{% if perms.can_delete_any or (comment.user_id == user.user_id and perms.can_delete) %} {% if perms.can_delete_any or (comment.user_id == user.user_id and perms.can_delete) %}
<a class="comment__action comment__action--link comment__action--hide comment__action--delete" <a class="comment__action comment__action--link comment__action--hide comment__action--delete"
href="/comments.php?m=delete&amp;c={{ comment.comment_id }}&amp;csrf={{ csrf_token() }}">Delete</a> href="/comments.php?m=delete&amp;c={{ comment.comment_id }}&amp;csrf={{ csrf_token('comments') }}">Delete</a>
{% endif %} {% endif %}
{# if user is not null %} {# if user is not null %}
<a class="comment__action comment__action--link comment__action--hide" href="#">Report</a> <a class="comment__action comment__action--link comment__action--hide" href="#">Report</a>