diff --git a/system/typemill/Models/Fields.php b/system/typemill/Models/Fields.php index 1657b22..e810559 100644 --- a/system/typemill/Models/Fields.php +++ b/system/typemill/Models/Fields.php @@ -29,7 +29,7 @@ class Fields { # if it is a fieldset, then create a subset for the containing field and read them with a recursive function $subSettings = $objectSettings; - $subSettings['forms'] = $fieldConfigurations; + $subSettings[$formType] = $fieldConfigurations; $fieldset = array(); $fieldset['type'] = 'fieldset';