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}" ) ) )