From: kurund Date: Tue, 8 Apr 2014 00:14:16 +0000 (-0700) Subject: fix for CRM-14427 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c88beed26b73fae9c380d3c328ce79e2c0e745d8;p=civicrm-core.git fix for CRM-14427 ---------------------------------------- * CRM-14427: PCP account creation fails if contact already exists https://issues.civicrm.org/jira/browse/CRM-14427 --- 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'];