mirror of
https://github.com/processwire/processwire.git
synced 2025-08-15 11:14:12 +02:00
Fix issue processwire/processwire-issues#905
This commit is contained in:
@@ -1164,6 +1164,8 @@ class PagesEditor extends Wire {
|
||||
if($copy->hasField($field)) $copy->trackChange($field->name);
|
||||
}
|
||||
|
||||
$copy->created = time();
|
||||
$copy->modified = time();
|
||||
$this->pages->cloneReady($page, $copy);
|
||||
$this->cloning++;
|
||||
$options['ignoreFamily'] = true; // skip family checks during clone
|
||||
|
Reference in New Issue
Block a user