Project

General

Profile

Bug #22070 » 13444_v4_4_3.diff

Administrator Admin, 2010-02-07 15:36

View differences:

t3lib/class.t3lib_userauthgroup.php (working copy)
}
// Processing filemounts
t3lib_div::loadTCA('sys_filemounts');
$orderBy = $GLOBALS['TCA']['sys_filemounts']['ctrl']['sortby'] ? $GLOBALS['TCA']['sys_filemounts']['ctrl']['sortby'] : '';
$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'].')');
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN ('.$this->dataLists['filemount_list'].')', '', $orderBy);
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$this->addFileMount($row['title'], $row['path'], $row['path'], $row['base']?1:0, '');
}
(3-3/4)