Guard against None coming out of the draft parser, we need to convert
that into an empty string, fixes #775. - Legacy-Id: 3997
This commit is contained in:
parent
8723e7f60d
commit
124b398729
|
@ -282,7 +282,7 @@ class UploadForm(forms.Form):
|
|||
TempIdAuthors.objects.create(
|
||||
id_document_tag=document_id,
|
||||
first_name=full_name.strip(),
|
||||
email_address=email,
|
||||
email_address=(email or "").strip(),
|
||||
author_order=order,
|
||||
submission=detail)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue