fix typo (additional email adresses) in send mail action

This commit is contained in:
Helmut Merz 2015-08-04 12:50:11 +02:00
parent 9df059e77a
commit fc81b49d44

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2011 Helmut Merz helmutm@cy55.de
# Copyright (c) 2015 Helmut Merz helmutm@cy55.de
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -194,7 +194,7 @@ class SendEmail(FormController):
subject = form.get('subject') or u''
message = form.get('mailbody') or u''
recipients = form.get('recipients') or []
recipients += (form.get('addrRecipients') or u'').split('\n')
recipients += (form.get('addrecipients') or u'').split('\n')
# TODO: remove duplicates
person = getPersonForUser(self.context, self.request)
sender = person and adapted(person).email or 'loops@unknown.com'