vdfsfd
This commit is contained in:
parent
eae2364da4
commit
73d103db05
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def toggle_club(pid, v):
|
|||
|
||||
post = get_post(pid)
|
||||
|
||||
if post.author_id != v.id or not v.paid_dues: abort(403)
|
||||
if post.author_id != v.id or v.admin_level == 0: abort(403)
|
||||
|
||||
post.club = not post.club
|
||||
g.db.add(post)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue