From 9612475abf158f44434d21b10f37d764eb709905 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 17 Apr 2008 10:12:01 +0000 Subject: [PATCH] BUGFIX fixed references in getCMSFields() (was still pointing to SecurityAdmin context) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52931 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Group.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/security/Group.php b/security/Group.php index 77dde76fc..52662709d 100644 --- a/security/Group.php +++ b/security/Group.php @@ -47,7 +47,7 @@ class Group extends DataObject { $memberList = new MemberTableField( $this, "Members", - $record, + $this, null, false ) @@ -75,7 +75,8 @@ class Group extends DataObject { "Code" => "PermissionDropdownField", "Arg" => "TextField", ), - "GroupID", $id + null, + "GroupID = {$this->ID}" ) ) )