mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-44014 Navigation: Set the correct context when retrieved via AJAX
This commit is contained in:
parent
a929fd50f9
commit
041d22ea09
@ -4497,6 +4497,7 @@ class settings_navigation_ajax extends settings_navigation {
|
||||
if ($this->initialised || during_initial_install()) {
|
||||
return false;
|
||||
}
|
||||
$this->context = $this->page->context;
|
||||
$this->load_administration_settings();
|
||||
|
||||
// Check if local plugins is adding node to site admin.
|
||||
|
Loading…
x
Reference in New Issue
Block a user