patch_9843_mabycleaner.diff

Administrator Admin, 2009-05-29 20:53

Download (806 Bytes)

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
897 897

  
898 898
			// Initialize the page-select functions.
899 899
		$this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
900
		$this->sys_page->versioningPreview = ($this->fePreview===2 || intval($this->workspacePreview) || t3lib_div::_GP('ADMCMD_view')) ? TRUE : FALSE;
900
		$this->sys_page->versioningPreview = ($this->fePreview===2 || intval($this->workspacePreview)) ? TRUE : FALSE;
901 901
		$this->sys_page->versioningWorkspaceId = $this->whichWorkspace();
902 902
		$this->sys_page->init($this->showHiddenPage);
903 903