Skip to content

Commit

Permalink
Fixed bug w/ admin teams
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Hughes committed Dec 10, 2011
1 parent 2a96dfa commit f8a3a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrumdo-web/apps/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def addProjectToOrganization( project, organization):
logger.info("Adding project %s to organization %s" % (project.slug, organization.slug))
project.organization = organization
project.save()
admin_teams = organization.teams.filter(access_type="admin")
admin_teams = organization.teams.filter(access_type="staff")
admin_team = admin_teams[0]
if not admin_team:
# This really shouldn't happen, there's no way to delete that default admin team.
Expand Down

0 comments on commit f8a3a24

Please sign in to comment.