diff --git a/library/Businessprocess/BpNode.php b/library/Businessprocess/BpNode.php index 419f836..4b67622 100644 --- a/library/Businessprocess/BpNode.php +++ b/library/Businessprocess/BpNode.php @@ -173,6 +173,8 @@ class BpNode extends Node if (! empty($this->children)) { unset($this->children[$name]); } + + $this->childNames = array_values($this->childNames); } return $this;