Index: class.t3lib_db.php =================================================================== --- class.t3lib_db.php (revision 3674) +++ class.t3lib_db.php (working copy) @@ -501,7 +501,7 @@ */ function listQuery($field, $value, $table) { $command = $this->quoteStr($value, $table); - $where = '('.$field.' LIKE \'%,'.$command.',%\' OR '.$field.' LIKE \''.$command.',%\' OR '.$field.' LIKE \'%,'.$command.'\' OR '.$field.'=\''.$command.'\')'; + $where = 'FIND_IN_SET(' . $command . ', ' . $field . ')'; return $where; }