Skip to content

Commit

Permalink
MDL-74602 mod_book: disable activity header on book print page
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed May 3, 2022
1 parent 4f7bd72 commit 0d3a2c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/book/tool/print/index.php
Expand Up @@ -54,6 +54,7 @@

$PAGE->set_url('/mod/book/print.php', array('id' => $id, 'chapterid' => $chapterid));

$PAGE->activityheader->disable();
$PAGE->set_pagelayout("embedded");

unset($id);
Expand Down Expand Up @@ -93,4 +94,4 @@
echo $renderer->render($page);

// Finish page output.
echo $OUTPUT->footer();
echo $OUTPUT->footer();

0 comments on commit 0d3a2c9

Please sign in to comment.