mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 06:06:16 +02:00
Fix for $blueprint->flattenData() on list properties
This commit is contained in:
@@ -116,7 +116,7 @@ class BlueprintSchema extends BlueprintSchemaBase implements ExportInterface
|
||||
if ($includeAll) {
|
||||
foreach ($this->items as $key => $rules) {
|
||||
$type = $rules['type'] ?? '';
|
||||
if (!str_starts_with($type, '_')) {
|
||||
if (!str_starts_with($type, '_') && !str_contains($key, '*')) {
|
||||
$list[$key] = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user