Merge pull request #58 from silverstripe-scienceninjas/pull/geteditform-strict-standard

MINOR getEditForm should have the same signature as parent class
This commit is contained in:
Ingo Schommer 2012-02-10 15:42:14 -08:00
commit 8f25c8ee93

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