Index: t3lib/class.t3lib_userauthgroup.php =================================================================== --- t3lib/class.t3lib_userauthgroup.php (revision 6888) +++ t3lib/class.t3lib_userauthgroup.php (working copy) @@ -1518,7 +1518,7 @@ if ($this->workspace>0 && trim($this->workspaceRec['file_mountpoints'])!=='') { // Processing filemounts - $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN ('.$GLOBALS['TYPO3_DB']->cleanIntList($this->workspaceRec['file_mountpoints']).')'); + $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN (' . $GLOBALS['TYPO3_DB']->cleanIntList($this->workspaceRec['file_mountpoints']) . ') AND uid IN (' . $GLOBALS['TYPO3_DB']->cleanIntList($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, ''); }