From f57b1ae19f26805197ce23ec7b4135b141547366 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 12 Jan 2024 07:47:26 +0200 Subject: [PATCH] fix duplicate ids breaking responsibity on janny "mark NSFW" button used on own comment --- files/templates/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 7e021917e..5b6a0451d 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -609,7 +609,7 @@ {% endif %} {% endif %} - {% if FEATURES['NSFW_MARKING'] and (c.author_id == v.id or (c.post.hole and v.mods(c.post.hole))) or c.wall_user_id == v.id %} + {% if FEATURES['NSFW_MARKING'] and v.admin_level < PERMS['POST_COMMENT_MODERATION'] and (c.author_id == v.id or (c.post.hole and v.mods(c.post.hole))) or c.wall_user_id == v.id %}