updated core to 1.7.16
This commit is contained in:
@@ -317,6 +317,10 @@ class BlueprintSchema extends BlueprintSchemaBase implements ExportInterface
|
||||
$toggle = [];
|
||||
}
|
||||
// Recursively fetch the items.
|
||||
$childData = $data[$key] ?? null;
|
||||
if (null !== $childData && !is_array($childData)) {
|
||||
throw new \RuntimeException(sprintf("Bad form data for field collection '%s': %s used instead of an array", $key, gettype($childData)));
|
||||
}
|
||||
$data[$key] = $this->processFormRecursive($data[$key] ?? null, $toggle, $value);
|
||||
} else {
|
||||
$field = $this->get($value);
|
||||
|
Reference in New Issue
Block a user