Skip to content
Snippets Groups Projects
Verified Commit 7fefc4d3 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

Fix MS Permissions pops chriistianwach

parent fd1859d7
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
}
foreach ($wp_roles->role_names as $role => $name) {
// Don't show the permissions options for administrator, as they have all permissions
if ($role !== 'administrator') {
if ( is_multisite() OR $role !== 'administrator') {
$roleObj = $wp_roles->get_role($role);
if (!empty($roleObj->capabilities)) {
foreach ($roleObj->capabilities as $ckey => $cname) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment