From 13207f13addca3d303fe651f567fb9aaac7936cd Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Tue, 24 Nov 2015 14:57:05 -0800 Subject: [PATCH] Fixed nested logic for lists and forms parsing (fixes #273) --- system/src/Grav/Common/Data/Blueprint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Data/Blueprint.php b/system/src/Grav/Common/Data/Blueprint.php index 6f0c71e50..c261ed877 100644 --- a/system/src/Grav/Common/Data/Blueprint.php +++ b/system/src/Grav/Common/Data/Blueprint.php @@ -331,7 +331,7 @@ class Blueprint implements \ArrayAccess, ExportInterface $field['name'] = $prefix . $key; $field += $params; - if (isset($field['fields']) && (!isset($field['type']) || $field['type'] !== 'list')) { + if (isset($field['fields']) && isset($field['type'])) { // Recursively get all the nested fields. $newParams = array_intersect_key($this->filter, $field); $this->parseFormFields($field['fields'], $newParams, $prefix, $current[$key]['fields']);