* Fixed a small SQL-related bug in Dmitris workspace related implementations
authorKasper Skårhøj <kasper@typo3.org>
Thu, 15 Dec 2005 15:14:47 +0000 (15:14 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Thu, 15 Dec 2005 15:14:47 +0000 (15:14 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@911 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/user/ws/index.php

index 6957f94..847ad23 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-15  Kasper Skårhøj  <kasper2005@typo3.com>
+
+       * Fixed a small SQL-related bug in Dmitris workspace related implementations
+
 2005-12-14  Sebastian Kurfuerst  <sebastian@garbage-group.de>
 
        * updated NEWS.txt
index 07ddacf..038a7a5 100755 (executable)
@@ -1484,7 +1484,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
         */
        function workspaceList_getMountPoints($tableName, $uidList)     {
                // Warning: all fields needed for t3lib_iconWorks::getIconImage()!
-               $MPs = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*', $tableName, 'deleted=0 AND hidden=0 AND uid IN (' . $uidList . ')', '', 'title');
+               $MPs = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*', $tableName, 'deleted=0 AND hidden=0 AND uid IN (' . $GLOBALS['TYPO3_DB']->cleanIntList($uidList) . ')', '', 'title');
                if (count($MPs) == 0)   {
                                // No mount points!
                        return '&nbsp;&ndash;';