mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
e29feeecac
commit
cd86e016a0
@ -65,7 +65,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
|||||||
|
|
||||||
|
|
||||||
public function AddRecordForm() {
|
public function AddRecordForm() {
|
||||||
$m = new MemberTableField(
|
$m = Object::create('MemberTableField',
|
||||||
$this,
|
$this,
|
||||||
"Members",
|
"Members",
|
||||||
$this->currentPageID()
|
$this->currentPageID()
|
||||||
|
Loading…
Reference in New Issue
Block a user