projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab5d9fd
)
CRM-14505 fix - CiviCRM api contact dedupe check wrong rule type
author
monishdeb
<monish.deb@webaccessglobal.com>
Thu, 3 Jul 2014 16:40:50 +0000
(22:10 +0530)
committer
monishdeb
<monish.deb@webaccessglobal.com>
Thu, 3 Jul 2014 16:40:50 +0000
(22:10 +0530)
https://issues.civicrm.org/jira/browse/CRM-14505
api/v3/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Contact.php
b/api/v3/Contact.php
index 1efb42a13da38ff03c96391970897d3642417255..79ad85ff28a33146f322b02760613d5c2f8bf577 100644
(file)
--- 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));