moodle_page: MDL-12212 more ->pagepaths to kill
This commit is contained in:
+1
-1
@@ -503,7 +503,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
|
||||
echo '</form>';
|
||||
|
||||
echo '</div>';
|
||||
$CFG->pagepath = 'blocks/' . $block->name;
|
||||
$PAGE->set_pagetype('blocks-' . $block->name);
|
||||
print_footer();
|
||||
die(); // Do not go on with the other page-related stuff
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user