From 0f6fa7a89255181ff7a7c738b70caa213cef3b41 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 30 May 2013 17:06:56 +1200 Subject: [PATCH] CRM-12715 e-notice observed on merge page --- CRM/Contact/Form/Merge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Merge.php b/CRM/Contact/Form/Merge.php index e35351d607..5f93efbc77 100644 --- a/CRM/Contact/Form/Merge.php +++ b/CRM/Contact/Form/Merge.php @@ -193,12 +193,12 @@ class CRM_Contact_Form_Merge extends CRM_Core_Form { $subtypes = CRM_Contact_BAO_ContactType::subTypePairs(NULL, TRUE, ''); $this->assign('contact_type', $main['contact_type']); - if (isset($main['contact_sub_type'])) { + if (!empty($main['contact_sub_type'])) { $this->assign('main_contact_subtype', CRM_Utils_Array::value('contact_sub_type', $subtypes[$main['contact_sub_type'][0]]) ); } - if (isset($other['contact_sub_type'])) { + if (!empty($other['contact_sub_type'])) { $this->assign('other_contact_subtype', CRM_Utils_Array::value('contact_sub_type', $subtypes[$other['contact_sub_type'][0]]) ); -- 2.25.1