Merge branch 'master' of github.com:openlabs/nereid-project

This commit is contained in:
Shalabh Aggarwal 2012-09-24 21:18:22 +05:30
commit 1a4c88aee5
1 changed files with 3 additions and 0 deletions

View File

@ -1291,6 +1291,9 @@ class ProjectHistory(ModelSQL, ModelView):
receivers = [s.email for s in history.project.participants
if s.email]
if not receivers:
return
message = render_email(
from_email=CONFIG['smtp_from'],
to=', '.join(receivers),