From 79680137b12de021f5a057d8579b8290609a8ed4 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 28 May 2012 11:46:25 +1200 Subject: [PATCH] BUGFIX SecurityAdmin shows incorrect breadcrumbs for viewing Roles GridField. Partially reverts 16982ba17c. --- admin/code/SecurityAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/code/SecurityAdmin.php b/admin/code/SecurityAdmin.php index 704718028..412a6bf55 100755 --- a/admin/code/SecurityAdmin.php +++ b/admin/code/SecurityAdmin.php @@ -129,7 +129,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { // Add roles editing interface if(Permission::check('APPLY_ROLES')) { - $rolesField = GridField::create('Role', + $rolesField = GridField::create('Roles', false, DataList::create('PermissionRole'), GridFieldConfig_RecordEditor::create()