Skip to content

Commit

Permalink
Merge branch 'develop' of http://github.com/mytardis/mytardis into de…
Browse files Browse the repository at this point in the history
…velop

* 'develop' of http://github.com/mytardis/mytardis:
  Correct use of Form.is_valid() (should be method call).
  • Loading branch information
Nick @ Work committed Apr 8, 2016
2 parents 0b41c51 + 0f03a71 commit 443eb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/tardis_portal/views/authorisation.py
Expand Up @@ -462,7 +462,7 @@ def change_user_permissions(request, experiment_id, username):
if request.method == 'POST':
form = ChangeUserPermissionsForm(request.POST, instance=acl)

if form.is_valid:
if form.is_valid():
if 'isOwner' in form.changed_data and \
form.cleaned_data['isOwner'] is False and \
len(owner_acls) == 1:
Expand Down

0 comments on commit 443eb82

Please sign in to comment.