mirror of
https://github.com/moodle/moodle.git
synced 2025-03-01 06:22:39 +01:00
Merge branch 'wip-MDL-37942-master' of git://github.com/jason-platts/moodle
This commit is contained in:
commit
e39ef3d124
@ -1250,7 +1250,7 @@ function portfolio_rewrite_pluginfile_url_callback($contextid, $component, $file
|
||||
$filename = array_pop($bits);
|
||||
$filepath = implode('/', $bits);
|
||||
}
|
||||
if (!$file = $fs->get_file($contextid, $component, $filearea, $itemid, $filepath, $filename)) {
|
||||
if (!$file = $fs->get_file($contextid, $component, $filearea, $itemid, $filepath, urldecode($filename))) {
|
||||
debugging("Couldn't find a file from the embedded path info context $contextid component $component filearea $filearea itemid $itemid filepath $filepath name $filename");
|
||||
return $matches;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user