Project

General

Profile

Feature #24110 » 16451-concat.patch

Administrator Admin, 2010-11-17 17:44

View differences:

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;
}
(1-1/2)