mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 14:35:29 +02:00
Merge branch 'MDL-53671-master' of git://github.com/dpalou/moodle
This commit is contained in:
commit
76d02bb8ac
@ -571,7 +571,7 @@ function book_export_contents($cm, $baseurl) {
|
||||
$file = array();
|
||||
$file['type'] = 'file';
|
||||
$file['filename'] = $fileinfo->get_filename();
|
||||
$file['filepath'] = "/{$chapter->id}/";
|
||||
$file['filepath'] = "/{$chapter->id}" . $fileinfo->get_filepath();
|
||||
$file['filesize'] = $fileinfo->get_filesize();
|
||||
$file['fileurl'] = moodle_url::make_webservice_pluginfile_url(
|
||||
$context->id, 'mod_book', 'chapter', $chapter->id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user