Fixes #1091
This commit is contained in:
parent
3d7f992635
commit
9c166b18be
|
|
@ -351,7 +351,7 @@ class FileUpload extends FormWidgetBase
|
|||
|
||||
// Internal download link
|
||||
if (!$file->isImage() || !$file->isPublic()) {
|
||||
$file->path = \Backend\Controllers\Files::getDownloadUrl($file);
|
||||
$file->pathOverride = \Backend\Controllers\Files::getDownloadUrl($file);
|
||||
}
|
||||
|
||||
return $file;
|
||||
|
|
|
|||
Loading…
Reference in New Issue