workflows: skip emails with empty body (#6228)

This commit is contained in:
Frédéric Péters 2015-01-03 10:10:35 +01:00
parent b90932e366
commit 1546085ebb
1 changed files with 2 additions and 0 deletions

View File

@ -1228,6 +1228,8 @@ class SendmailWorkflowStatusItem(WorkflowStatusItem):
return
if not self.subject:
return
if not self.body:
return
url = formdata.get_url()
try: