From 08bdb9100fa0ad700fef426f147b395e3bafaa00 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 17 Sep 2023 22:48:02 +0300 Subject: [PATCH] fix 500 error --- files/templates/util/macros.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 276904cf5..31e4c82a9 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -21,11 +21,11 @@ {% endif %} - {% if p.bannedfor and not (c.parent_post and c.post.sub == 'chudrama') %} + {% if p.bannedfor and p.sub != 'chudrama' %} {% endif %} - {% if p.chuddedfor and not (c.parent_post and c.post.sub == 'chudrama') %} + {% if p.chuddedfor and p.sub != 'chudrama' %} {% endif %}