fdsfsd
This commit is contained in:
parent
b8bf2c0ff9
commit
386aceef82
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ def post_id(pid, anything=None, v=None):
|
||||||
|
|
||||||
post = get_post(pid, v=v)
|
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:
|
if v:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue