BpNode: fix error for missing children

This commit is contained in:
Thomas Gelf 2016-04-07 15:48:31 +02:00
parent 93fff13209
commit ac82187f5b

View file

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