Fixes a minor oops
This commit is contained in:
parent
85398a5cf5
commit
e7556b02b7
1 changed files with 2 additions and 2 deletions
|
@ -207,8 +207,8 @@ def attendee(request, form, attendee_id=None):
|
|||
if attendee_id is None and not form.has_changed():
|
||||
return attendee_list(request)
|
||||
|
||||
if attendee_id is None:
|
||||
attendee_id = form.user
|
||||
if form.cleaned_data["user"] is not None:
|
||||
attendee_id = form.cleaned_data["user"]
|
||||
|
||||
attendee = people.Attendee.objects.get(id=attendee_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue