X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FProfileContact.php;h=b6f12cbf5703130978171c2a2fb2859c98d964da;hb=30c0347c1a0b2a22d70c9d9d36b1fd4b61f6178f;hp=1ddf0639615a4177ddaa4a9eef1938185ee7ff25;hpb=95b0090202aa538612981aa3cda2c71154397fec;p=civicrm-core.git diff --git a/CRM/Contact/Form/ProfileContact.php b/CRM/Contact/Form/ProfileContact.php index 1ddf063961..b6f12cbf57 100644 --- a/CRM/Contact/Form/ProfileContact.php +++ b/CRM/Contact/Form/ProfileContact.php @@ -1,9 +1,9 @@ _params; - if ($form->get('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