mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-14589, fixed filepath
This commit is contained in:
parent
4df53d1a23
commit
ee9a49628d
@ -75,7 +75,7 @@ class file_picker implements renderable {
|
||||
$file = $fs->get_file($usercontext->id, 'user', 'draft', $options->itemid, $options->filepath, $options->filename);
|
||||
}
|
||||
if (!empty($file)) {
|
||||
$options->currentfile = html_writer::link(moodle_url::make_draftfile_url($file->get_itemid(), $file->get_filename(), $file->get_filename()), $file->get_filename());
|
||||
$options->currentfile = html_writer::link(moodle_url::make_draftfile_url($file->get_itemid(), $file->get_filepath(), $file->get_filename()), $file->get_filename());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user