mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-44014 Navigation: Set the correct context when retrieved via AJAX
This commit is contained in:
parent
a929fd50f9
commit
041d22ea09
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue