Commit 1f1e8ed3 authored by Jérome Perrin's avatar Jérome Perrin

NotificationTool: subject is required

parent 131f8099
......@@ -290,6 +290,9 @@ class NotificationTool(BaseTool):
if not isinstance(notifier_list, (tuple, list)):
raise TypeError("Notifier list must be a list of portal types")
if not subject:
raise TypeError("subject is required")
# Find "From" Person
from_person = None
if isinstance(sender, basestring):
......
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