diff --git a/lib/blocklib.php b/lib/blocklib.php index b69c18e38f1..5ca1802ce65 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -470,6 +470,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid, echo ''; echo ''; + $CFG->pagepath = 'blocks/' . $block->name; print_footer(); die(); // Do not go on with the other page-related stuff }