From 67cfa3334fa2782fbe827ee1036e87d78c24b2f8 Mon Sep 17 00:00:00 2001 From: seamuslee001 Date: Thu, 24 Apr 2014 02:12:18 +1000 Subject: [PATCH] CRM-14505 Update CiviCRM API fix Patch 4.5 code version with API dedupe rule fix as per Lobo's advice --- 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 3e0b6a863c..4921d0b92e 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -325,7 +325,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