CRM-15813 fix - Honoree Information profile overwrites contributor information
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 2 Feb 2015 13:03:20 +0000 (18:33 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Mon, 2 Feb 2015 13:03:20 +0000 (18:33 +0530)
https://issues.civicrm.org/jira/browse/CRM-15813

CRM/Contribute/Form/Contribution/Confirm.php

index 3a04db6af6c5c84dd96204732be2bb322e770331..cda8f4a58cc0b5a5a8e6c107d716282d18991e1e 100644 (file)
@@ -803,6 +803,9 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
       if (!empty($dupeParams['onbehalf'])) {
         unset($dupeParams['onbehalf']);
       }
+      if (!empty($dupeParams['honor'])) {
+        unset($dupeParams['honor']);
+      }
 
       $dedupeParams = CRM_Dedupe_Finder::formatParams($dupeParams, 'Individual');
       $dedupeParams['check_permission'] = FALSE;