Update to 3.5.7.1

This commit is contained in:
Lukas Bestle
2021-07-07 11:53:53 +02:00
parent 62b533a28f
commit 9bc881f37e
11 changed files with 607 additions and 616 deletions

View File

@@ -192,7 +192,7 @@ return function (App $app) {
* @return \Kirby\Cms\Layouts
*/
'toLayouts' => function (Field $field) {
return Layouts::factory(Data::decode($field->value, 'json'), [
return Layouts::factory(Layouts::parse($field->value()), [
'parent' => $field->parent()
]);
},