1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 11:14:12 +02:00

Fix issue processwire/processwire-issues#500 where trackChanges state of cloned page was off

This commit is contained in:
Ryan Cramer
2018-02-21 06:12:39 -05:00
parent b2281d6e93
commit 053ef62970

View File

@@ -1250,7 +1250,7 @@ class PagesEditor extends Wire {
$copy->resetTrackChanges();
$this->pages->cloned($page, $copy);
$this->pages->debugLog('clone', "page=$page, parent=$parent", $copy);
$copy->setTrackChanges(false);
// $copy->setTrackChanges(false);
return $copy;
}