0011038.patch

Administrator Admin, 2009-05-06 20:08

Download (804 Bytes)

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
934 934
		$this->sys_page->versioningWorkspaceId = $this->whichWorkspace();
935 935
		$this->sys_page->init($this->showHiddenPage);
936 936

  
937
			// Set the valid usergroups for FE
938
		$this->initUserGroups();
937
			// Set the valid usergroups for FE if a FE user is active or simulation of a FE user group was requested:
938
		if (is_array($this->fe_user->user) || ($this->beUserLogin && $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['preview_simulateUserGroup'])) {
939
			$this->initUserGroups();
940
		}
939 941

  
940 942
			// Sets sys_page where-clause
941 943
		$this->setSysPageWhereClause();