mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 19:54:24 +02:00
Fix issue processwire/processwire-issues#500 where trackChanges state of cloned page was off
This commit is contained in:
@@ -1250,7 +1250,7 @@ class PagesEditor extends Wire {
|
|||||||
$copy->resetTrackChanges();
|
$copy->resetTrackChanges();
|
||||||
$this->pages->cloned($page, $copy);
|
$this->pages->cloned($page, $copy);
|
||||||
$this->pages->debugLog('clone', "page=$page, parent=$parent", $copy);
|
$this->pages->debugLog('clone', "page=$page, parent=$parent", $copy);
|
||||||
$copy->setTrackChanges(false);
|
// $copy->setTrackChanges(false);
|
||||||
|
|
||||||
return $copy;
|
return $copy;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user