mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56: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 {
|
} else {
|
||||||
unset($this->children[$index]);
|
unset($this->children[$index]);
|
||||||
unset($this->showchildren[$index]);
|
unset($this->showchildren[$index]);
|
||||||
$this->showchildren = array_values($this->showchildren);
|
$this->showchildren = !is_null($this->showchildren) ? array_values($this->showchildren) : null;
|
||||||
$changed = true;
|
$changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue