mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 00:37:02 +02:00
Fix issue processwire/processwire-issues#1825
This commit is contained in:
committed by
Ryan Cramer
parent
6d2c8bf795
commit
8571be1b23
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user