CRM-4193 - current employer dupe match should use Unsupervised rule.
authorDave Greenberg <dave@civicrm.org>
Tue, 9 Dec 2014 00:37:25 +0000 (16:37 -0800)
committerDave Greenberg <dave@civicrm.org>
Tue, 9 Dec 2014 00:37:25 +0000 (16:37 -0800)
----------------------------------------
* CRM-4193:
  https://issues.civicrm.org/jira/browse/CRM-4193

CRM/Contact/BAO/Contact/Utils.php

index 93b69aebdfa20c3668252387d9bbc7a5356b843d..b39db37f2fc6d00dc49be93f371f17a7ed9e4f7c 100644 (file)
@@ -290,7 +290,7 @@ UNION
       $dedupeParams = CRM_Dedupe_Finder::formatParams($organizationParams, 'Organization');
 
       $dedupeParams['check_permission'] = FALSE;
-      $dupeIDs = CRM_Dedupe_Finder::dupesByParams($dedupeParams, 'Organization', 'Supervised');
+      $dupeIDs = CRM_Dedupe_Finder::dupesByParams($dedupeParams, 'Organization', 'Unsupervised');
 
       if (is_array($dupeIDs) && !empty($dupeIDs)) {
         // we should create relationship only w/ first org CRM-4193