Smarty notice fix - remove obsolete preferred_mail_format
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 21 Aug 2022 23:08:38 +0000 (11:08 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 21 Aug 2022 23:08:38 +0000 (11:08 +1200)
templates/CRM/Contact/Form/Edit/CommunicationPreferences.tpl

index 0bb4e39654b6e7307db3c71fa530e5747f0fd9d8..21099dd31945735d7945761ba4d7a69a84b52e54 100644 (file)
           </td>
         </tr>
         <tr>
-            <td>{$form.is_opt_out.html} {$form.is_opt_out.label} {help id="id-optOut" file="CRM/Contact/Form/Contact.hlp"}</td>
-            {if !empty($form.preferred_mail_format)}
-                <td>{$form.preferred_mail_format.label} &nbsp;
-                    {$form.preferred_mail_format.html} {help id="id-emailFormat" file="CRM/Contact/Form/Contact.hlp"}
-                </td>
-            {/if}
+          <td>{$form.is_opt_out.html} {$form.is_opt_out.label} {help id="id-optOut" file="CRM/Contact/Form/Contact.hlp"}</td>
         </tr>
     </table>
  </div><!-- /.crm-accordion-body -->