Skip to content
Snippets Groups Projects
Commit a9ed7be32186 authored by Carlos's avatar Carlos
Browse files

[mq]: validation_from_empty_value

parent 2ea3368b341d
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
# sender address has been removed, look in email's headers
message = email.umessage_headers()
if message:
return xml_escape(message.get('From'))
return xml_escape(message.get('From', ''))
return email._cw._('unknown sender')
class EmailPrimaryView(primary.PrimaryView):
......
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