fdsfsd
parent
d90218eaae
commit
6b92fd55d3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue