Merged [47016]: Used Object::create to allow SecurityAdmin to use subclasses of MemberTableField to list members.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60255 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Hayden Smith 2008-08-10 21:41:10 +00:00
parent e29feeecac
commit cd86e016a0

View File

@ -65,7 +65,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
public function AddRecordForm() {
$m = new MemberTableField(
$m = Object::create('MemberTableField',
$this,
"Members",
$this->currentPageID()