mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #514 from muskie9/bugfix/fileSizeMethod#513
BUGFIX incorrect method name
This commit is contained in:
commit
b68dc98380
@ -54,7 +54,7 @@ class EditableFileField extends EditableFormField
|
|||||||
'Root.Main',
|
'Root.Main',
|
||||||
NumericField::create('MaxFileSizeMB')
|
NumericField::create('MaxFileSizeMB')
|
||||||
->setTitle('Max File Size MB')
|
->setTitle('Max File Size MB')
|
||||||
->setDescription("Note: Maximum php allowed size is {$this->getPHPMaxFileSize()} MB")
|
->setDescription("Note: Maximum php allowed size is {$this->getPHPMaxFileSizeMB()} MB")
|
||||||
);
|
);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
|
Loading…
Reference in New Issue
Block a user