mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-30 15:19:25 -05:00
BpNode: fix error for missing children
This commit is contained in:
parent
93fff13209
commit
ac82187f5b
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue