Skip to content
Snippets Groups Projects
Commit cd1d4a57 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix copy&paste error.

parent 037b96b8
No related branches found
No related tags found
No related merge requests found
......@@ -102,8 +102,8 @@ def register_event(request, cn):
guardian.mobile == register_form.cleaned_data['guardian_mobile']
):
# Either mail or mobile matches - update both and link
guardian.mail = register_form.cleaned_data['guardian_mail'] or
guardian.mobile = register_form.cleaned_data['guardian_mobile']):
guardian.mail = register_form.cleaned_data['guardian_mail']
guardian.mobile = register_form.cleaned_data['guardian_mobile']
guardian.save()
if guardian.dn not in current_person.guardians:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment