From cdbf47fb92d30d42ef0890d7ba2a34fa156560b3 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 3 Jul 2014 22:10:50 +0530 Subject: [PATCH] CRM-14505 fix - CiviCRM api contact dedupe check wrong rule type https://issues.civicrm.org/jira/browse/CRM-14505 --- api/v3/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.25.1