Changed the use of non-existing variable 'ascii' to 'person.ascii'. Fixes a server failure for person alias creation during draft submissions.
- Legacy-Id: 7277
This commit is contained in:
parent
722a008d25
commit
2f274bdad8
|
@ -243,7 +243,7 @@ def ensure_person_email_info_exists(name, email):
|
|||
|
||||
Alias.objects.create(name=person.name, person=person)
|
||||
if person.name != person.ascii:
|
||||
Alias.objects.create(name=ascii, person=person)
|
||||
Alias.objects.create(name=person.ascii, person=person)
|
||||
|
||||
# make sure we have an email address
|
||||
if email:
|
||||
|
|
Loading…
Reference in a new issue