Skip to content

Commit

Permalink
[#2939] Bugfix None org in package_owner_org_update()
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 3, 2012
1 parent 2ca6d88 commit 5d89021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/action/update.py
Expand Up @@ -1010,7 +1010,7 @@ def package_owner_org_update(context, data_dict):

need_update = True
for member_obj in members:
if member_obj.group_id == org.id:
if org and member_obj.group_id == org.id:
need_update = False
else:
member_obj.state = 'deleted'
Expand Down

0 comments on commit 5d89021

Please sign in to comment.