From 016a5f086ef6ec341f2eefc9322532e0543cba81 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 14 May 2014 17:02:30 +0530 Subject: [PATCH] CRM-13981 notice fix ---------------------------------------- * CRM-13981: Migrate "In Honor of" to Soft Credits https://issues.civicrm.org/jira/browse/CRM-13981 --- CRM/Contact/Form/ProfileContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/ProfileContact.php b/CRM/Contact/Form/ProfileContact.php index 49a6a5ee1d..c8bd5eac4e 100644 --- a/CRM/Contact/Form/ProfileContact.php +++ b/CRM/Contact/Form/ProfileContact.php @@ -113,7 +113,7 @@ class CRM_Contact_Form_ProfileContact { static function postProcess($form) { $params = $form->_params; - if ($form->_honor_block_is_active && !empty($params['soft_credit_type_id'])) { + if (!empty($form->_honor_block_is_active) && !empty($params['soft_credit_type_id'])) { $honorId = null; //check if there is any duplicate contact -- 2.25.1