This commit is contained in:
Samuel Georges 2015-04-28 21:59:18 +10:00
parent 3d7f992635
commit 9c166b18be
1 changed files with 1 additions and 1 deletions

View File

@ -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;