1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-30 04:25:47 +00:00

Fix group revoke public

This commit is contained in:
plt 2013-03-31 19:22:57 +08:00
parent 157a488661
commit 4dd3ee13fb

View File

@ -262,7 +262,7 @@ def group_revoke_public(request, group_id):
return render_permission_error(request, _(u'Only administrators can make the group public'))
try:
p = PublicGroup.objects.get(id=group.id)
p = PublicGroup.objects.get(group_id=group.id)
p.delete()
except:
pass