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:
Sam Minnee 2010-03-16 23:42:23 +00:00
parent d825a6bb5c
commit 5ab421e946

View File

@ -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.