diff --git a/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php b/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php index aacbb397..ed94e64b 100644 --- a/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php +++ b/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php @@ -278,5 +278,10 @@ class RepeaterPage extends Page { return $this; } */ + + public function getAccessTemplate($type = 'view') { + $p = $this->getForPageRoot(); + return $p->id ? $p->getAccessTemplate($type) : parent::getAccessTemplate($type); + } }