### Eclipse Workspace Patch 1.0 #P typo3core Index: typo3/sysext/cms/tslib/class.tslib_fe.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 5512) +++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) @@ -897,7 +897,7 @@ // Initialize the page-select functions. $this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect'); - $this->sys_page->versioningPreview = ($this->fePreview===2 || intval($this->workspacePreview) || t3lib_div::_GP('ADMCMD_view')) ? TRUE : FALSE; + $this->sys_page->versioningPreview = ($this->fePreview===2 || intval($this->workspacePreview) || (t3lib_div::_GP('ADMCMD_view') && $this->whichWorkspace())) ? TRUE : FALSE; $this->sys_page->versioningWorkspaceId = $this->whichWorkspace(); $this->sys_page->init($this->showHiddenPage);