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:
564d6ed
)
fixes core#580 - view all groups when appropriately permissioned
author
Jon Goldberg
<jon@megaphonetech.com>
Mon, 31 Dec 2018 04:36:59 +0000
(23:36 -0500)
committer
Jon Goldberg
<jon@megaphonetech.com>
Mon, 31 Dec 2018 04:36:59 +0000
(23:36 -0500)
CRM/ACL/BAO/ACL.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/ACL/BAO/ACL.php
b/CRM/ACL/BAO/ACL.php
index a2ac22df250a730fbb5f341845602d3a6ad1d3d5..201454fc9e44da19855a585606d962d121069415 100644
(file)
--- a/
CRM/ACL/BAO/ACL.php
+++ b/
CRM/ACL/BAO/ACL.php
@@
-870,6
+870,10
@@
SELECT g.*
return Civi::$statics[__CLASS__]['permissioned_groups'][$userCacheKey];
}
+ if ($allGroups == NULL) {
+ $allGroups = CRM_Core_PseudoConstant::allGroup();
+ }
+
$acls = CRM_ACL_BAO_Cache::build($contactID);
$ids = array();