diff --git a/library/Businessprocess/BpNode.php b/library/Businessprocess/BpNode.php index 2afde69..2ea8f8e 100644 --- a/library/Businessprocess/BpNode.php +++ b/library/Businessprocess/BpNode.php @@ -65,12 +65,7 @@ class BpNode extends Node $this->counters = self::$emptyStateSummary; foreach ($this->getChildren() as $child) { - if ($child instanceof BpNode) { - $counters = $child->getStateSummary(); - foreach ($counters as $k => $v) { - $this->counters[$k] += $v; - } - } elseif ($child->isMissing()) { + if ($child->isMissing()) { $this->counters['MISSING']++; } else { $state = $child->getStateName($this->getChildState($child));