Merge branch 'MDL-74358_400' of https://github.com/stronk7/moodle into MOODLE_400_STABLE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user