Permalink
Browse files

MINOR Fixed tab naming in Group->getCMSFields() (from r101718)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112026 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 1bbec96 commit b88f462664a8b6f57eb57ccc0f2e0c8f0d5fce62 @sminnee sminnee committed Oct 13, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 security/Group.php
View
@@ -114,7 +114,8 @@ public function getCMSFields() {
// Only show the "Roles" tab if permissions are granted to edit them,
// and at least one role exists
if(Permission::check('APPLY_ROLES') && DataObject::get('PermissionRole')) {
- $fields->addFieldToTab('Root.' . _t('SecurityAdmin.ROLES', 'Roles'),
+ $fields->findOrMakeTab('Root.Roles', _t('SecurityAdmin.ROLES', 'Roles'));
+ $fields->addFieldToTab('Root.Roles',
new LiteralField(
"",
"<p>" .

0 comments on commit b88f462

Please sign in to comment.