mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Added $CFG->pagepath to the blocks_execute_action() function for the config
action. This is used to generate the Moodle Docs URL for configuration of an instance of a block.
This commit is contained in:
parent
60534cfc9c
commit
a2c28054b8
1 changed files with 1 additions and 0 deletions
|
@ -470,6 +470,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid,
|
|||
echo '</form>';
|
||||
|
||||
echo '</div>';
|
||||
$CFG->pagepath = 'blocks/' . $block->name;
|
||||
print_footer();
|
||||
die(); // Do not go on with the other page-related stuff
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue