mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-09 06:42:52 -05:00
BpNode: Re-index childnames upon node removal
This commit is contained in:
parent
1b837c72a3
commit
9c84764157
1 changed files with 2 additions and 0 deletions
|
|
@ -173,6 +173,8 @@ class BpNode extends Node
|
|||
if (! empty($this->children)) {
|
||||
unset($this->children[$name]);
|
||||
}
|
||||
|
||||
$this->childNames = array_values($this->childNames);
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue