From b88f462664a8b6f57eb57ccc0f2e0c8f0d5fce62 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 13 Oct 2010 01:02:00 +0000 Subject: [PATCH] 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 --- security/Group.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/Group.php b/security/Group.php index 2eeb8432d..44ca2c7fc 100644 --- a/security/Group.php +++ b/security/Group.php @@ -114,7 +114,8 @@ class Group extends DataObject { // 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( "", "

" .