Commit 138e495e authored by Tristan Cavelier's avatar Tristan Cavelier

BugEvent doesn't notify if no recipient is provided

parent 6ddef70c
......@@ -117,6 +117,7 @@ for message in bug_message_list:\n
message.getStartDate(), text )\n
\n
recipient_list = bug_message.BugLine_getRecipientValueList()\n
if not recipient_list: return\n
\n
portal = bug_message.getPortalObject()\n
portal.portal_notifications.sendMessage(sender=bug_message.getSourceValue(),\n
......
Markdown is supported
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