From ac82187f5b0c57a1ca98cbb8e653104be538bce4 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 7 Apr 2016 15:48:31 +0200 Subject: [PATCH] BpNode: fix error for missing children --- library/Businessprocess/BpNode.php | 2 ++ 1 file changed, 2 insertions(+) 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;