X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FDedupe%2FFinder.php;h=2819819adf7ceb92064373ec88e8538fd11fe2f9;hb=d434a5cfb2dc3c248ac3c0d8570bd8e9d828f6ad;hp=c6aa6cf306b75a9d19c708727586393f8a4fe0be;hpb=be58c28acdd8454dd2765a9fa4a63d2c4a9e0d12;p=civicrm-core.git diff --git a/CRM/Dedupe/Finder.php b/CRM/Dedupe/Finder.php index c6aa6cf306..2819819adf 100644 --- a/CRM/Dedupe/Finder.php +++ b/CRM/Dedupe/Finder.php @@ -97,7 +97,7 @@ class CRM_Dedupe_Finder { * * check_permission is a boolean flag to indicate if permission should be considered. * default is to always check permissioning but public pages for example might not want - * permission to be checked for anonymous users. Refer CRM-6211. We might be beaking + * permission to be checked for anonymous users. Refer CRM-6211. We might be breaking * Multi-Site dedupe for public pages. * * @param array $params @@ -125,6 +125,8 @@ class CRM_Dedupe_Finder { if (!$params) { return array(); } + // This may no longer be required - see https://github.com/civicrm/civicrm-core/pull/13176 + $params = array_filter($params); $foundByID = FALSE; if ($ruleGroupID) { @@ -170,7 +172,7 @@ class CRM_Dedupe_Finder { * @param int $rgid * Rule group id. * @param int $gid - * Contact group id (currently, works only with non-smart groups). + * Contact group id. * * @param int $searchLimit * Limit for the number of contacts to be used for comparison.