mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02: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();
|
||||
|
||||
// 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));
|
||||
|
||||
// This more rigorous check is inline with the test that write()
|
||||
|
Loading…
Reference in New Issue
Block a user