mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX: Don't turn virtual pages green if their source is deleted from draft and then reverted (merged from r100926 and r100928)
This commit is contained in:
parent
f368686adc
commit
d64e847534
@ -1429,7 +1429,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
$this->syncLinkTracking();
|
$this->syncLinkTracking();
|
||||||
|
|
||||||
// Check to see if we've only altered fields that shouldn't affect versioning
|
// Check to see if we've only altered fields that shouldn't affect versioning
|
||||||
$fieldsIgnoredByVersioning = array('HasBrokenLink', 'Status', 'HasBrokenFile', 'ToDo');
|
$fieldsIgnoredByVersioning = array('HasBrokenLink', 'Status', 'HasBrokenFile', 'ToDo', 'VersionID', 'SaveCount');
|
||||||
$changedFields = array_keys($this->getChangedFields(true, 2));
|
$changedFields = array_keys($this->getChangedFields(true, 2));
|
||||||
|
|
||||||
// This more rigorous check is inline with the test that write()
|
// This more rigorous check is inline with the test that write()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user