Skip to content
Snippets Groups Projects
Commit 0a6df2ab authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5989: coding standards

parent 750e3469
No related branches found
No related tags found
1 merge request!296Feature/istwcms 5397 bibcite release
...@@ -378,12 +378,10 @@ class UwPermissions { ...@@ -378,12 +378,10 @@ class UwPermissions {
// to the permissions array. // to the permissions array.
if (!empty($perms_to_add)) { if (!empty($perms_to_add)) {
// Step through each role and permissions and add to the // Step through each role and add the permissions
// permissions array. // to the array.
foreach ($uw_roles as $uw_role) { foreach ($uw_roles as $uw_role) {
foreach ($perms_to_add as $perm_to_add) { $permissions[$uw_role['name']] = $perms_to_add;
$permissions[$uw_role['name']] = $perms_to_add;
}
} }
} }
......
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