MINOR Localized File->uploadMetadataFields() (from r99111)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102852 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-14 04:10:42 +00:00
parent fb898d0d66
commit e99d56df3f

View File

@ -662,7 +662,7 @@ class File extends DataObject {
*/
function uploadMetadataFields() {
$fields = new FieldSet();
$fields->push(new TextField('Title'));
$fields->push(new TextField('Title', $this->fieldLabel('Title')));
$this->extend('updateUploadMetadataFields', $fields);
return $fields;
}