Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-37332 portfolio: don't add double slashes

get_filepath() always returns trailing slash.

This breaks windows export - thanks to Jason Platts
  • Loading branch information...
commit e9fd6e5dd62551bfe0a1422a33cef277d7533a72 1 parent f36066f
@danpoltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/portfolio/exporter.php
View
2  lib/portfolio/exporter.php
@@ -835,7 +835,7 @@ public function get_tempfiles($skipfile='portfolio-export.zip') {
if ($f->get_filename() == $skipfile) {
continue;
}
- $returnfiles[$f->get_filepath() . '/' . $f->get_filename()] = $f;
+ $returnfiles[$f->get_filepath() . $f->get_filename()] = $f;
}
return $returnfiles;
}
Please sign in to comment.
Something went wrong with that request. Please try again.