* Fix bug #34874.
This commit is contained in:
@@ -4567,7 +4567,7 @@ class testcaseModel extends model
|
||||
{
|
||||
// Only entry with this key
|
||||
// Test if tags of this type should always be arrays, no matter the element count
|
||||
$tagsArray[$childTagName] = in_array($childTagName, $options['alwaysArray'], true) || !$options['autoArray'] ? [$childProperties] : $childProperties;
|
||||
$tagsArray[$childTagName] = in_array($childTagName, $options['alwaysArray'], true) || !$options['autoArray'] ? array($childProperties) : $childProperties;
|
||||
}
|
||||
elseif(is_array($tagsArray[$childTagName]) && array_keys($tagsArray[$childTagName]) === range(0, count($tagsArray[$childTagName]) - 1))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user