diff --git a/mod/book/tool/print/index.php b/mod/book/tool/print/index.php index d898d1905da..0af9308dcdd 100644 --- a/mod/book/tool/print/index.php +++ b/mod/book/tool/print/index.php @@ -54,6 +54,7 @@ if ($chapterid) { $PAGE->set_url('/mod/book/print.php', array('id' => $id, 'chapterid' => $chapterid)); +$PAGE->activityheader->disable(); $PAGE->set_pagelayout("embedded"); unset($id); @@ -93,4 +94,4 @@ if ($chapter) { echo $renderer->render($page); // Finish page output. -echo $OUTPUT->footer(); \ No newline at end of file +echo $OUTPUT->footer();