From: Samuel Vanhove Date: Wed, 21 Sep 2016 21:39:03 +0000 (-0400) Subject: Make the mail format required X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=20bfb933932028737940a3ddb96b30bd04a5f237;p=civicrm-core.git Make the mail format required --- 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)')));