From d5cccc2e90e938d62d98d7d14a7116ff126f4ad0 Mon Sep 17 00:00:00 2001 From: yashodha Date: Mon, 14 Mar 2016 12:56:23 +0530 Subject: [PATCH] CRM-18220: Notice asking to be reported on Add Contacts to Organization and on Add Members to Household forms ---------------------------------------- * CRM-18220: Notice asking to be reported on Add Contacts to Organization and on Add Members to Household forms https://issues.civicrm.org/jira/browse/CRM-18220 --- CRM/Contact/Form/Task/AddToHousehold.php | 2 +- CRM/Contact/Form/Task/AddToOrganization.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Task/AddToHousehold.php b/CRM/Contact/Form/Task/AddToHousehold.php index b6a1443b32..95298009b3 100644 --- a/CRM/Contact/Form/Task/AddToHousehold.php +++ b/CRM/Contact/Form/Task/AddToHousehold.php @@ -93,7 +93,7 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task_AddToPa $this->set('searchDone', 0); if (!empty($_POST['_qf_AddToHousehold_refresh'])) { - $searchParams['contact_type'] = array('Household' => 'Household'); + $searchParams['contact_type'] = 'Household'; $searchParams['rel_contact'] = $this->params['name']; $this->search($this, $searchParams); $this->set('searchDone', 1); diff --git a/CRM/Contact/Form/Task/AddToOrganization.php b/CRM/Contact/Form/Task/AddToOrganization.php index d1eb806a43..145d77323a 100644 --- a/CRM/Contact/Form/Task/AddToOrganization.php +++ b/CRM/Contact/Form/Task/AddToOrganization.php @@ -101,7 +101,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task_AddT $this->set('searchDone', 0); if (!empty($_POST['_qf_AddToOrganization_refresh'])) { - $searchParams['contact_type'] = array('Organization' => 'Organization'); + $searchParams['contact_type'] = 'Organization'; $searchParams['rel_contact'] = $this->params['name']; $this->search($this, $searchParams); $this->set('searchDone', 1); -- 2.25.1