mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 01:34:31 +02:00
Fix issue processwire/processwire-issues#1031
This commit is contained in:
@@ -700,6 +700,7 @@ class FieldtypeRepeater extends Fieldtype implements ConfigurableModule {
|
||||
*
|
||||
*/
|
||||
public function getBlankRepeaterPage(Page $page, Field $field) {
|
||||
if($this->deletePageField === $field->get('parent_id')) $this->deletePageField = 0;
|
||||
$parent = $this->getRepeaterPageParent($page, $field);
|
||||
$class = $this->getPageClass();
|
||||
$readyPage = $this->wire(new $class());
|
||||
|
Reference in New Issue
Block a user