mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Fix issue processwire/processwire-issues#867
This commit is contained in:
@@ -203,6 +203,7 @@ class RepeaterPage extends Page {
|
|||||||
$name = ltrim($name, '-');
|
$name = ltrim($name, '-');
|
||||||
if($depth > 0) $name = str_repeat('-', $depth) . $name;
|
if($depth > 0) $name = str_repeat('-', $depth) . $name;
|
||||||
if($name !== $_name) $this->name = $name;
|
if($name !== $_name) $this->name = $name;
|
||||||
|
$this->depth = $depth;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user