From: monishdeb Date: Thu, 3 Jul 2014 16:40:50 +0000 (+0530) Subject: CRM-14505 fix - CiviCRM api contact dedupe check wrong rule type X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cdbf47fb92d30d42ef0890d7ba2a34fa156560b3;p=civicrm-core.git CRM-14505 fix - CiviCRM api contact dedupe check wrong rule type https://issues.civicrm.org/jira/browse/CRM-14505 --- diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 1efb42a13d..79ad85ff28 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -329,7 +329,7 @@ function _civicrm_api3_contact_check_params( &$params, $dupeCheck = true, $dupeE $dedupeParams['check_permission'] = $params['check_permission']; } - $ids = CRM_Dedupe_Finder::dupesByParams($dedupeParams, $params['contact_type'], 'Strict', array()); + $ids = CRM_Dedupe_Finder::dupesByParams($dedupeParams, $params['contact_type'], 'Unsupervised', array()); if (count($ids) >0) { throw new API_Exception("Found matching contacts: ". implode(',',$ids),"duplicate",array("ids"=>$ids));