mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix [buttons]
appearing instead of actual buttons when uploading files
This commit is contained in:
parent
59bba54b30
commit
12adba3d34
@ -1208,7 +1208,7 @@ class UploadField extends FileField {
|
||||
'edit_url' => $customised->UploadFieldEditLink,
|
||||
'size' => $file->getAbsoluteSize(),
|
||||
'type' => File::get_file_type($file->getFilename()),
|
||||
'buttons' => $customised->UploadFieldFileButtons,
|
||||
'buttons' => (string)$customised->UploadFieldFileButtons,
|
||||
'fieldname' => $this->getName()
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user