Skip to content

Commit

Permalink
MDL-33480 book print tool: display intro images properly
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 3, 2012
1 parent 4db0616 commit 34570f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/book/tool/print/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
} 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
?>
Expand Down

0 comments on commit 34570f8

Please sign in to comment.