diff --git a/module/testcase/model.php b/module/testcase/model.php index ae8d2131ea..8e76a0a221 100644 --- a/module/testcase/model.php +++ b/module/testcase/model.php @@ -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)) {