+2008-11-11 Michael Stucki <michael@typo3.org>
+
+ * Fixed bug #5611: Frontend preview and simulate time is buggy
+
2008-11-08 Michael Stucki <michael@typo3.org>
* Follow-up to bug #8399: Table index was too long after changing the field size
// Initialize the page-select functions.
$this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
- $this->sys_page->versioningPreview = $this->fePreview ? TRUE : FALSE;
+ $this->sys_page->versioningPreview = ($this->fePreview===2 || intval($this->workspacePreview) || t3lib_div::_GP('ADMCMD_view')) ? TRUE : FALSE;
$this->sys_page->versioningWorkspaceId = $this->whichWorkspace();
$this->sys_page->init($this->showHiddenPage);