Permalink
Browse files

Fix one more staff logic bomb

  • Loading branch information...
1 parent 22b8be8 commit b84b5330fb24e2a9686e8f7667913da043c04d93 @dustball dustball committed Aug 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.py
View
@@ -81,7 +81,7 @@ def post(self, id):
if state:
if state.lower() == 'approve' and access_rights.can_approve:
event.approve()
- if state.lower() == 'staff' and access_rights.is_staff:
+ if state.lower() == 'staff' and access_rights.can_staff:
event.add_staff(user)
if state.lower() == 'unstaff' and access_rights.can_unstaff:
event.remove_staff(user)

0 comments on commit b84b533

Please sign in to comment.