mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-37332 portfolio: don't add double slashes
get_filepath() always returns trailing slash. This breaks windows export - thanks to Jason Platts
This commit is contained in:
parent
b6f8a93642
commit
e86a26c9b2
@ -835,7 +835,7 @@ class portfolio_exporter {
|
||||
if ($f->get_filename() == $skipfile) {
|
||||
continue;
|
||||
}
|
||||
$returnfiles[$f->get_filepath() . '/' . $f->get_filename()] = $f;
|
||||
$returnfiles[$f->get_filepath() . $f->get_filename()] = $f;
|
||||
}
|
||||
return $returnfiles;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user