diff --git a/frappe/email/doctype/email_alert/email_alert.js b/frappe/email/doctype/email_alert/email_alert.js index 5d350f72ef..07f84d4e8a 100755 --- a/frappe/email/doctype/email_alert/email_alert.js +++ b/frappe/email/doctype/email_alert/email_alert.js @@ -26,7 +26,7 @@ frappe.email_alert = { var email_fields = $.map(fields, function(d) { return (d.options == "Email" || - (d.option=='User' && d.fieldtype=='Link')) ? + (d.options=='User' && d.fieldtype=='Link')) ? get_select_options(d) : null; }); // set email recipient options