From 620ccff6c03bf750beb9ec3f491b845bd1717f13 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 21 Sep 2022 21:11:39 -0400 Subject: [PATCH] make default work again --- CRM/Contact/Form/Location.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Contact/Form/Location.php b/CRM/Contact/Form/Location.php index e6c734ee7d..222cd29f9a 100644 --- a/CRM/Contact/Form/Location.php +++ b/CRM/Contact/Form/Location.php @@ -87,6 +87,8 @@ class CRM_Contact_Form_Location { } switch ($blockName) { case 'Email': + // setDefaults uses this to tell which instance + $form->set('Email_Block_Count', $instance); CRM_Contact_Form_Edit_Email::buildQuickForm($form, $instance); // Only display the signature fields if this contact has a CMS account // because they can only send email if they have access to the CRM -- 2.25.1