* fix bug #2068,2065,2064,2053.

This commit is contained in:
wangyidong
2018-07-23 15:06:49 +08:00
parent b8afb7ca57
commit 38b3d7e6fd
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -1382,7 +1382,7 @@ class task extends control
$task->files = '';
foreach($relatedFiles[$task->id] as $file)
{
$fileURL = common::getSysURL() . $this->file->webPath . $this->file->getRealPathName($file->pathname);
$fileURL = common::getSysURL() . $this->createLink('file', 'download', "fileID={$file->id}");
$task->files .= html::a($fileURL, $file->title, '_blank') . '<br />';
}
}