diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 36da23861..b4fcd22f5 100644 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1705,6 +1705,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid */ function getIsDeletedFromStage() { if(!$this->ID) return true; + if($this->isNew()) return false; $stageVersion = Versioned::get_versionnumber_by_stage('SiteTree', 'Stage', $this->ID); $liveVersion = Versioned::get_versionnumber_by_stage('SiteTree', 'Live', $this->ID);