Project

General

Profile

Bug #22097 » patch-usersfilemountsinworkspace.patch

Administrator Admin, 2010-03-07 16:57

View differences:

t3lib/class.t3lib_userauthgroup.php (working copy)
}
}
$this->dataLists['filemount_list'] = t3lib_div::uniqueList($this->dataLists['filemount_list']);
if ($this->dataLists['filemount_list']) {
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN ('.$this->dataLists['filemount_list'].')');
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$this->addFileMount($row['title'], $row['path'], $row['path'], $row['base']?1:0, '');
}
}
if ($allowed_languages = $this->getTSConfigVal('options.workspaces.allowed_languages.'.$this->workspace)) {
$this->groupData['allowed_languages'] = $allowed_languages;
$this->groupData['allowed_languages'] = t3lib_div::uniqueList($this->groupData['allowed_languages']);
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_userauthgroup.php']);
}
?>
?>
(3-3/3)