From c88beed26b73fae9c380d3c328ce79e2c0e745d8 Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 7 Apr 2014 17:14:16 -0700 Subject: [PATCH] fix for CRM-14427 ---------------------------------------- * CRM-14427: PCP account creation fails if contact already exists https://issues.civicrm.org/jira/browse/CRM-14427 --- CRM/PCP/Form/PCPAccount.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/PCP/Form/PCPAccount.php b/CRM/PCP/Form/PCPAccount.php index fd30363a0e..436286b800 100644 --- a/CRM/PCP/Form/PCPAccount.php +++ b/CRM/PCP/Form/PCPAccount.php @@ -291,6 +291,7 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { } $dedupeParams = CRM_Dedupe_Finder::formatParams($params, 'Individual'); + $dedupeParams['check_permission'] = FALSE; $ids = CRM_Dedupe_Finder::dupesByParams($dedupeParams, 'Individual', 'Unsupervised'); if ($ids) { $this->_contactID = $ids['0']; -- 2.25.1