diff --git a/library/Businessprocess/BpNode.php b/library/Businessprocess/BpNode.php index f413c96..f71f531 100644 --- a/library/Businessprocess/BpNode.php +++ b/library/Businessprocess/BpNode.php @@ -139,6 +139,8 @@ class BpNode extends Node public function getMissingChildren() { if ($this->missingChildren === null) { + $missing = array(); + foreach ($this->getChildren() as $child) { if ($child->isMissing()) { $missing[(string) $child] = $child;