mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Fix error when adding roles tab (from r86997)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89172 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
03221dce35
commit
7e54fc1fc2
@ -100,7 +100,7 @@ class Group extends DataObject {
|
||||
$fields->removeFieldFromTab('Root', 'Permissions');
|
||||
$fields->removeFieldFromTab('Root', 'IP Addresses');
|
||||
}
|
||||
|
||||
|
||||
if(Permission::check('EDIT_PERMISSIONS') && DataObject::get('PermissionRole')) {
|
||||
$fields->addFieldToTab(_t('SecurityAdmin.ROLES', 'Roles'),
|
||||
new LiteralField(
|
||||
|
Loading…
x
Reference in New Issue
Block a user