From 20bfb933932028737940a3ddb96b30bd04a5f237 Mon Sep 17 00:00:00 2001 From: Samuel Vanhove Date: Wed, 21 Sep 2016 17:39:03 -0400 Subject: [PATCH] Make the mail format required --- CRM/Contact/Form/Edit/CommunicationPreferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Edit/CommunicationPreferences.php b/CRM/Contact/Form/Edit/CommunicationPreferences.php index 7ab867c8bb..bdc7ba497c 100644 --- a/CRM/Contact/Form/Edit/CommunicationPreferences.php +++ b/CRM/Contact/Form/Edit/CommunicationPreferences.php @@ -84,7 +84,7 @@ class CRM_Contact_Form_Edit_CommunicationPreferences { //using for display purpose. $form->assign('commPreference', $commPreference); - $form->addField('preferred_mail_format', array('entity' => 'contact', 'label' => ts('Email Format'))); + $form->addField('preferred_mail_format', array('entity' => 'contact', 'label' => ts('Email Format')), true); $form->addField('is_opt_out', array('entity' => 'contact', 'label' => ts('NO BULK EMAILS (User Opt Out)'))); -- 2.25.1