From 713263b928306f8516fa35ab5c76b7be46c178a6 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 25 Mar 2010 22:43:58 +0000 Subject: [PATCH] MINOR Fixed tab naming in Group->getCMSFields() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101718 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 363445143..2ed6eab71 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( "", "

" .