mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-32709 book: fix send_stored_file() call
This commit is contained in:
parent
9717aa2ddd
commit
a1448fc012
1 changed files with 1 additions and 1 deletions
|
@ -52,4 +52,4 @@ add_to_log($course->id, 'book', 'exportimscp', 'tool/exportimscp/index.php?id='.
|
|||
|
||||
$file = booktool_exportimscp_build_package($book, $context);
|
||||
|
||||
send_stored_file($file, 10, 0, true, clean_filename($book->name).'.zip');
|
||||
send_stored_file($file, 10, 0, true, array('filename' => clean_filename($book->name).'.zip'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue