mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02: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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user