forked from extern/egroupware
Fix bug where some elements would not be returned if a child of a later sibling was the same type
This commit is contained in:
parent
2d3ca5c96e
commit
bcd86f7ae9
@ -467,7 +467,7 @@ class Widget
|
|||||||
{
|
{
|
||||||
$elements[] = $child;
|
$elements[] = $child;
|
||||||
}
|
}
|
||||||
$elements += $child->getElementsByType($type);
|
$elements = array_merge($elements, $child->getElementsByType($type));
|
||||||
}
|
}
|
||||||
return $elements;
|
return $elements;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user