Merge branch 'MDL-47690-master' of git://github.com/jleyva/moodle

This commit is contained in:
Damyon Wiese 2014-10-27 11:11:53 +08:00
commit d2dbc373f8
2 changed files with 4 additions and 2 deletions

View file

@ -274,7 +274,7 @@ function url_export_contents($cm, $baseurl) {
$url = array();
$url['type'] = 'url';
$url['filename'] = $urlrecord->name;
$url['filename'] = clean_param(format_string($urlrecord->name), PARAM_FILE);
$url['filepath'] = null;
$url['filesize'] = 0;
$url['fileurl'] = $fullurl;