From 5b85ce1b04812d7dbec150c9dbcd20a3f42f327d Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 6 Mar 2024 00:53:00 +0200 Subject: [PATCH] fix 500 error --- files/templates/post_listing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html index 9de2ddb1e..5e1b9bf74 100644 --- a/files/templates/post_listing.html +++ b/files/templates/post_listing.html @@ -10,7 +10,7 @@ {% include "popover.html" %} -{% set disable_votes = request.path.startswith('/@' and u != v) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %} +{% set disable_votes = request.path.startswith('/@') and u != v and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %} {% set post_permalinks = [] %} {% for p in listing if can_see(v, p) %}