From dc85fa09b96dc77e8d1c553a78f3cec7150807ec Mon Sep 17 00:00:00 2001 From: Stig Lindqvist Date: Mon, 23 Jan 2012 17:12:49 +0100 Subject: [PATCH] MINOR SecurityAdmin::getEditForm should have same signature as LeftAndMain::getEditForm --- admin/code/SecurityAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/code/SecurityAdmin.php b/admin/code/SecurityAdmin.php index 795ae41fd..fa0925115 100755 --- a/admin/code/SecurityAdmin.php +++ b/admin/code/SecurityAdmin.php @@ -38,7 +38,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { 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) if(!$id) $id = $this->currentPageID(); $form = parent::getEditForm($id);