mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix regression with uploadfield casting
This commit is contained in:
parent
a8c0c0fc6a
commit
b89fcfa188
@ -550,7 +550,7 @@ class UploadField extends FileField {
|
||||
));
|
||||
// we do this in a second customise to have the access to the previous customisations
|
||||
return $file->customise(array(
|
||||
'UploadFieldFileButtons' => (string)$file->renderWith($this->getTemplateFileButtons())
|
||||
'UploadFieldFileButtons' => $file->renderWith($this->getTemplateFileButtons())
|
||||
));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user