mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR SecurityAdmin::getEditForm should have same signature as LeftAndMain::getEditForm
This commit is contained in:
parent
439ed75ff9
commit
dc85fa09b9
@ -38,7 +38,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
|||||||
Requirements::javascript(SAPPHIRE_ADMIN_DIR . '/javascript/SecurityAdmin.js');
|
Requirements::javascript(SAPPHIRE_ADMIN_DIR . '/javascript/SecurityAdmin.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
function getEditForm($id = null) {
|
public function getEditForm($id = null, $fields = null) {
|
||||||
// TODO Duplicate record fetching (see parent implementation)
|
// TODO Duplicate record fetching (see parent implementation)
|
||||||
if(!$id) $id = $this->currentPageID();
|
if(!$id) $id = $this->currentPageID();
|
||||||
$form = parent::getEditForm($id);
|
$form = parent::getEditForm($id);
|
||||||
|
Loading…
Reference in New Issue
Block a user