Fixes oversight.
This commit is contained in:
parent
a81a54fa1d
commit
787550b000
1 changed files with 1 additions and 1 deletions
|
@ -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&c={{ comment.comment_id }}&csrf={{ csrf_token() }}">Delete</a>
|
href="/comments.php?m=delete&c={{ comment.comment_id }}&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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue