mirror of
https://github.com/moodle/moodle.git
synced 2025-03-17 22:20:00 +01:00
MDL-58063 blocks: Cannot access manage files in HTML block in clean
This commit is contained in:
parent
50e48a8f2d
commit
5b97c08412
@ -3988,6 +3988,7 @@ class settings_navigation extends navigation_node {
|
||||
if ($context->contextlevel == CONTEXT_BLOCK) {
|
||||
$this->load_block_settings();
|
||||
$context = $context->get_parent_context();
|
||||
$this->context = $context;
|
||||
}
|
||||
switch ($context->contextlevel) {
|
||||
case CONTEXT_SYSTEM:
|
||||
|
Loading…
x
Reference in New Issue
Block a user