BusinessProcess: fix "bp nodes can be stored twice"

This commit is contained in:
Thomas Gelf 2015-03-16 13:37:08 +01:00
parent 792cf35a38
commit f5e3bc4c01

View file

@ -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";