1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 01:34:31 +02:00
This commit is contained in:
Ryan Cramer
2019-11-21 08:39:01 -05:00
parent fd7917c7d1
commit 14803e22a8

View File

@@ -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());