From 8571be1b236cd83b92a0154e342e0303a591f42b Mon Sep 17 00:00:00 2001 From: romaincazier Date: Wed, 11 Oct 2023 10:37:52 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1825 --- wire/modules/Fieldtype/FieldtypeRepeater/FieldsetPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/modules/Fieldtype/FieldtypeRepeater/FieldsetPage.php b/wire/modules/Fieldtype/FieldtypeRepeater/FieldsetPage.php index eabf6e70..9236b998 100644 --- a/wire/modules/Fieldtype/FieldtypeRepeater/FieldsetPage.php +++ b/wire/modules/Fieldtype/FieldtypeRepeater/FieldsetPage.php @@ -50,7 +50,7 @@ class FieldsetPage extends RepeaterPage { public function get($key) { // mirror the output formatting state of the owning page - if($this->forPage && !$this->getOf) { + if($this->forPage && !$this->getOf && !$this->isNew) { $of = $this->forPage->of(); if($of != $this->of()) $this->of($of); }