mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Fix incorrect download URL for files attached to extra vars
This commit is contained in:
parent
b0f582a4da
commit
65d68eec6d
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ class Value
|
||||||
$file = FileModel::getFile($value);
|
$file = FileModel::getFile($value);
|
||||||
if ($file)
|
if ($file)
|
||||||
{
|
{
|
||||||
return sprintf('<span><a href="%s">%s</a> (%s)</span>', $file->download_url, $file->source_filename, FileHandler::filesize($file->file_size));
|
return sprintf('<span><a href="%s">%s</a> (%s)</span>', \RX_BASEURL . ltrim($file->download_url, './'), $file->source_filename, FileHandler::filesize($file->file_size));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue