MINOR SecurityAdmin::getEditForm should have same signature as LeftAndMain::getEditForm

This commit is contained in:
Stig Lindqvist 2012-01-23 17:12:49 +01:00
parent 439ed75ff9
commit dc85fa09b9

View File

@ -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);