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 = 'CONCAT(\',\', ' . $field . ', \',\') LIKE \'%,' . $command . ',%\''; return $where; }