mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-54113-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
e5c5f5d3ff
@ -935,7 +935,9 @@ class assign_files implements renderable {
|
||||
$file->get_filename();
|
||||
$url = file_encode_url("$CFG->wwwroot/pluginfile.php", $path, true);
|
||||
$filename = $file->get_filename();
|
||||
$file->fileurl = html_writer::link($url, $filename);
|
||||
$file->fileurl = html_writer::link($url, $filename, [
|
||||
'target' => '_blank',
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user