This commit is contained in:
Aevann1 2021-12-02 22:57:57 +02:00
parent b8bf2c0ff9
commit 386aceef82

View file

@ -114,7 +114,7 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
if post.club and not (v and (v.paid_dues or v.id == post.author_id)) or post.private: abort(403)
if post.club and not (v and (v.paid_dues or v.id == post.author_id)) or post.private and not (v and v.id == post.author_id): abort(403)
if v: