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:
205d1cb
)
Fix dedupe check to not require elevated permissions
author
Jon Goldberg
<jon@megaphonetech.com>
Fri, 4 Feb 2022 17:14:01 +0000
(12:14 -0500)
committer
Tim Otten
<totten@civicrm.org>
Tue, 8 Feb 2022 23:14:48 +0000
(15:14 -0800)
CRM/Utils/Check/Component/DedupeRules.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Check/Component/DedupeRules.php
b/CRM/Utils/Check/Component/DedupeRules.php
index 6cd6bf8a02878637415ba2ff53f193ebd83cfd32..7c0b68666d01ba6875d3257d119e6928d022b9a3 100644
(file)
--- a/
CRM/Utils/Check/Component/DedupeRules.php
+++ b/
CRM/Utils/Check/Component/DedupeRules.php
@@
-22,7
+22,7
@@
class CRM_Utils_Check_Component_DedupeRules extends CRM_Utils_Check_Component {
* @return string[]
*/
private static function getContactTypesForRule($used) {
- $dedupeRules = \Civi\Api4\DedupeRuleGroup::get()
+ $dedupeRules = \Civi\Api4\DedupeRuleGroup::get(
FALSE
)
->addSelect('contact_type')
->addGroupBy('contact_type')
->addWhere('used', '=', $used)