From 6d3782630568c880d1611e31400b5f3c97426c26 Mon Sep 17 00:00:00 2001 From: Stig Lindqvist Date: Fri, 10 Feb 2012 23:15:41 +0100 Subject: [PATCH] MINOR getEditForm should have the same signature as inherited classes (PHP strict standard) --- code/controllers/CMSFileAddController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/CMSFileAddController.php b/code/controllers/CMSFileAddController.php index 9a14024b..e282a10c 100644 --- a/code/controllers/CMSFileAddController.php +++ b/code/controllers/CMSFileAddController.php @@ -20,7 +20,7 @@ class CMSFileAddController extends AssetAdmin { * @return Form * @todo what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore */ - public function getEditForm() { + public function getEditForm($id = null, $fields = null) { Requirements::javascript(SAPPHIRE_DIR . '/javascript/AssetUploadField.js'); Requirements::css(SAPPHIRE_DIR . '/css/AssetUploadField.css');