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:
Ole Laursen 2012-02-28 18:37:22 +00:00
parent 8723e7f60d
commit 124b398729

View file

@ -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: