diff options
Diffstat (limited to 'app/templates/macros/threads.html')
| -rw-r--r-- | app/templates/macros/threads.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html index 32acbc4..e94cded 100644 --- a/app/templates/macros/threads.html +++ b/app/templates/macros/threads.html @@ -22,7 +22,7 @@ </div> <div class="card-body"> - {% if r != thread.replies[0] and thread.checkPerm(current_user, "DELETE_REPLY") %} + {% if r.checkPerm(current_user, "DELETE_REPLY") %} <a class="float-right btn btn-secondary btn-sm" href="{{ url_for('threads.delete_reply', id=thread.id, reply=r.id) }}"> <i class="fas fa-trash"></i> |
