Bug #20335 » patch_9843_carefull.diff
typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) | ||
---|---|---|
// 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);
|
||