Merge pull request #1414 from Andrew-Mc-Cormack/patch-1

Fix decide typo in comment
This commit is contained in:
Damian Mooyman 2016-03-08 10:00:04 +13:00
commit a8d48b51b1
1 changed files with 1 additions and 1 deletions

View File

@ -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));