bugfix: blog

This commit is contained in:
Rushabh Mehta 2012-08-13 11:31:27 +05:30
parent fa0e252d4b
commit c3de42c892

View File

@ -116,7 +116,7 @@ def add_comment(args=None):
args.get('comment_docname'), as_dict=1)[0] args.get('comment_docname'), as_dict=1)[0]
from webnotes.utils.email_lib.bulk import send from webnotes.utils.email_lib.bulk import send
send(recipients=list(set(commentors + [blog['owner']]), send(recipients=list(set(commentors + [blog['owner']])),
doctype='Comment', doctype='Comment',
email_field='comment_by', email_field='comment_by',
first_name_field="comment_by_fullname", first_name_field="comment_by_fullname",