mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed versioning of pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101165 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d825a6bb5c
commit
5ab421e946
@ -334,6 +334,7 @@ class Versioned extends DataObjectDecorator {
|
||||
|
||||
if($this->migratingVersion) {
|
||||
$manipulation[$table]['fields']['Version'] = $this->migratingVersion;
|
||||
$this->migrateVersion(null);
|
||||
}
|
||||
|
||||
// If we haven't got a version #, then we're creating a new version.
|
||||
|
Loading…
Reference in New Issue
Block a user