mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-74358' of https://github.com/stronk7/moodle
This commit is contained in:
commit
240d7f6054
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ class tree extends tree_node {
|
|||
} else {
|
||||
unset($this->children[$index]);
|
||||
unset($this->showchildren[$index]);
|
||||
$this->showchildren = array_values($this->showchildren);
|
||||
$this->showchildren = !is_null($this->showchildren) ? array_values($this->showchildren) : null;
|
||||
$changed = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue