Bug #23253 » t3lib_db_listQuery.diff
t3lib/class.t3lib_db.php (working copy) | ||
---|---|---|
* @return string WHERE clause for a query
|
||
*/
|
||
public function listQuery($field, $value, $table) {
|
||
if( !is_string($value)) {
|
||
$value=strval($value);
|
||
}
|
||
if (strpos(',', $value) !== FALSE) {
|
||
throw new InvalidArgumentException('$value must not contain a comma (,) in $this->listQuery() !');
|
||
}
|