Feature #24110 » 16451-concat.patch
class.t3lib_db.php (working copy) | ||
---|---|---|
*/
|
||
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;
|
||
}
|
||