mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ca12d54173
@ -22,7 +22,7 @@ class SubmittedFileField extends SubmittedFormField {
|
||||
$link = $this->getLink();
|
||||
$title = _t('SubmittedFileField.DOWNLOADFILE', 'Download File');
|
||||
|
||||
if(!$link) {
|
||||
if($link) {
|
||||
return sprintf('<a href="%s">%s</a>', $link, $title);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user