mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Falling back to currentPageID() in SecurityAdmin->getEditForm() to allow actions like MemberTableField->export() to pass the group ID as a POST parameter instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99685 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fa04f03b0f
commit
a9f8d553f4
@ -47,7 +47,8 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
|
||||
function getEditForm($id = null) {
|
||||
$form = parent::getEditForm($id);
|
||||
|
||||
|
||||
if(!$id) $id = $this->currentPageID();
|
||||
if($id && is_numeric($id)) {
|
||||
$fields = $form->Fields();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user