mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
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->getElementsByType($type);
|
||||
$elements = array_merge($elements, $child->getElementsByType($type));
|
||||
}
|
||||
return $elements;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user