Commit cab3aa3a authored by Carlos's avatar Carlos
Browse files

[mq]: validation_from_empty_value

parent 2ea3368b341d
......@@ -34,7 +34,7 @@ def formated_sender(email):
# 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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment