Minor fix in newsletter

This commit is contained in:
Anand Doshi 2014-06-10 17:15:50 +05:30
parent 6a3e97a9f8
commit 862fe60368

View File

@ -88,7 +88,7 @@ class Newsletter(Document):
send(recipients = self.recipients, sender = sender,
subject = self.subject, message = self.message,
doctype = self.send_to_doctype, email_field = self.email_field or "email_id",
doctype = self.send_to_doctype, email_field = self.get("email_field") or "email_id",
ref_doctype = self.doctype, ref_docname = self.name)
if not frappe.flags.in_test: