1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 00:37:02 +02:00
This commit is contained in:
romaincazier
2023-10-11 10:37:52 -04:00
committed by Ryan Cramer
parent 6d2c8bf795
commit 8571be1b23

View File

@@ -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);
}