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:
parent
157a488661
commit
4dd3ee13fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user