mirror of
https://github.com/processwire/processwire.git
synced 2025-08-22 14:23:05 +02:00
Fix issue processwire/processwire-issues#723
This commit is contained in:
@@ -1114,6 +1114,7 @@ class PagesEditor extends Wire {
|
||||
$copy->name = $name;
|
||||
$copy->parent = $parent;
|
||||
$copy->of(false);
|
||||
$copy->set('numChildren', 0);
|
||||
|
||||
// set any properties indicated in options
|
||||
if(isset($options['set']) && is_array($options['set'])) {
|
||||
|
Reference in New Issue
Block a user