diff --git a/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php b/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php index d450505a..986cd270 100644 --- a/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php +++ b/wire/modules/Fieldtype/FieldtypeRepeater/RepeaterPage.php @@ -203,6 +203,7 @@ class RepeaterPage extends Page { $name = ltrim($name, '-'); if($depth > 0) $name = str_repeat('-', $depth) . $name; if($name !== $_name) $this->name = $name; + $this->depth = $depth; } /**