MINOR getEditForm should have the same signature as inherited classes (PHP strict standard)

This commit is contained in:
Stig Lindqvist 2012-02-10 23:15:41 +01:00
parent 7af4029a9a
commit 6d37826305

View File

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