diff options
author | Simon Rettberg | 2018-04-13 11:33:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-13 11:33:40 +0200 |
commit | 0a0c8374827a3b26e806237888eb79c22dcbaf5d (patch) | |
tree | 4b2bf19b1f98652a607846bbbe465f5e728cfab9 | |
parent | [dozmod] Don't show 1.1.1970 for users that never logged in (diff) | |
download | slx-admin-0a0c8374827a3b26e806237888eb79c22dcbaf5d.tar.gz slx-admin-0a0c8374827a3b26e806237888eb79c22dcbaf5d.tar.xz slx-admin-0a0c8374827a3b26e806237888eb79c22dcbaf5d.zip |
[permissionmanager] Preselect all locations when adding new role
-rw-r--r-- | modules-available/permissionmanager/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/permissionmanager/page.inc.php b/modules-available/permissionmanager/page.inc.php index 828891ab..11b5b028 100644 --- a/modules-available/permissionmanager/page.inc.php +++ b/modules-available/permissionmanager/page.inc.php @@ -117,7 +117,7 @@ class Page_PermissionManager extends Page $data["permissionHTML"] = self::generatePermissionHTML(PermissionUtil::getPermissions(), $selectedPermissions, false, '', ['perms' => $data['perms']]); $data["locationHTML"] = self::generateLocationHTML(Location::getTree(), $selectedLocations, - false, true, ['perms' => $data['perms']]); + $roleid === false, true, ['perms' => $data['perms']]); Render::addTemplate('roleeditor', $data); } |