Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102852 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit e99d56df3fd19f3c2e6e966d3933c5beacfb8cdb 1 parent fb898d0
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  filesystem/File.php
View
2  filesystem/File.php
@@ -662,7 +662,7 @@ function validate() {
*/
function uploadMetadataFields() {
$fields = new FieldSet();
- $fields->push(new TextField('Title'));
+ $fields->push(new TextField('Title', $this->fieldLabel('Title')));
$this->extend('updateUploadMetadataFields', $fields);
return $fields;
}
Please sign in to comment.
Something went wrong with that request. Please try again.