mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-33480 book print tool: display intro images properly
This commit is contained in:
parent
4db061680e
commit
34570f86bc
@ -114,6 +114,7 @@ if ($chapter) {
|
||||
} else {
|
||||
add_to_log($course->id, 'book', 'print', 'tool/print/index.php?id='.$cm->id, $book->id, $cm->id);
|
||||
$allchapters = $DB->get_records('book_chapters', array('bookid'=>$book->id), 'pagenum');
|
||||
$book->intro = file_rewrite_pluginfile_urls($book->intro, 'pluginfile.php', $context->id, 'mod_book', 'intro', null);
|
||||
|
||||
// page header
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user