Merge branch 'MDL-54756' of git://github.com/timhunt/moodle

This commit is contained in:
Andrew Nicols 2016-05-30 15:19:04 +08:00
commit a29e419b2c

View File

@ -760,7 +760,6 @@ class moodle_url {
if ($forcedownload) {
$params['forcedownload'] = 1;
}
$path = rtrim($path, '/');
$url = new moodle_url($urlbase, $params);
$url->set_slashargument($path);
return $url;