From e6078be52e550402ee8250941f86ea8b88b03a35 Mon Sep 17 00:00:00 2001 From: Andrew Mc Cormack Date: Mon, 7 Mar 2016 20:37:29 +0000 Subject: [PATCH] Update SiteTree.php Minor type fix --- code/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index bfa3f5d1..8094a165 100755 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -1531,7 +1531,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid $fieldsIgnoredByVersioning = array('HasBrokenLink', 'Status', 'HasBrokenFile', 'ToDo', 'VersionID', 'SaveCount'); $changedFields = array_keys($this->getChangedFields(true, 2)); - // This more rigorous check is inline with the test that write() does to dedcide whether or not to write to the + // This more rigorous check is inline with the test that write() does to decide whether or not to write to the // DB. We use that to avoid cluttering the system with a migrateVersion() call that doesn't get used $oneChangedFields = array_keys($this->getChangedFields(true, 1));