From 053ef62970fb00624bb250bd1e8a96b741747aee Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Wed, 21 Feb 2018 06:12:39 -0500 Subject: [PATCH] Fix issue processwire/processwire-issues#500 where trackChanges state of cloned page was off --- wire/core/PagesEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/PagesEditor.php b/wire/core/PagesEditor.php index afcdc6ad..9fd621ef 100644 --- a/wire/core/PagesEditor.php +++ b/wire/core/PagesEditor.php @@ -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; }