X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPermission.php;h=57d58ec7471762797882f9392fe05c4255a428f1;hb=b0b40cd7636e8bcb51e38ce1337c077026f4e25d;hp=5a3f0eff7aa0df9133a8beebcbe29b8802b25348;hpb=5ee1bf7c6350f9da1550112ccf8438b9549cecd9;p=civicrm-core.git diff --git a/CRM/Core/Permission.php b/CRM/Core/Permission.php index 5a3f0eff7a..57d58ec747 100644 --- a/CRM/Core/Permission.php +++ b/CRM/Core/Permission.php @@ -621,7 +621,7 @@ class CRM_Core_Permission { } foreach ($components as $comp) { - $perm = $comp->getPermissions(FALSE, $descriptions); + $perm = $comp->getPermissions($all, $descriptions); if ($perm) { $info = $comp->getInfo(); foreach ($perm as $p => $attr) { @@ -1449,7 +1449,8 @@ class CRM_Core_Permission { // Profile permissions $permissions['profile'] = [ - 'get' => [], // the profile will take care of this + // the profile will take care of this + 'get' => [], ]; $permissions['uf_group'] = [