diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index 992317e1..5c57f6dc 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -2371,7 +2371,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi } // "unpublish" - if ($isPublished && $canPublish && $isOnDraft && $canUnpublish) { + if ($isPublished && $isOnDraft && $canUnpublish) { $moreOptions->push( FormAction::create('unpublish', _t(__CLASS__.'.BUTTONUNPUBLISH', 'Unpublish'), 'delete') ->setDescription(_t(__CLASS__.'.BUTTONUNPUBLISHDESC', 'Remove this page from the published site'))