From f5e3bc4c01ecc28b1d1bace8dccca0d39ac96328 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 16 Mar 2015 13:37:08 +0100 Subject: [PATCH] BusinessProcess: fix "bp nodes can be stored twice" --- library/Businessprocess/BusinessProcess.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/Businessprocess/BusinessProcess.php b/library/Businessprocess/BusinessProcess.php index 3568396..ec5e5c9 100644 --- a/library/Businessprocess/BusinessProcess.php +++ b/library/Businessprocess/BusinessProcess.php @@ -619,9 +619,11 @@ class BusinessProcess $rendered = array(); foreach ($this->getChildren() as $child) { + $rendered[(string) $child] = true; $conf .= $child->toLegacyConfigString($rendered); } foreach ($this->getUnboundNodes() as $node) { + $rendered[(string) $child] = true; $conf .= $node->toLegacyConfigString($rendered); } return $conf . "\n";