Project

General

Profile

Bug #23253 » t3lib_db_listQuery.diff

Administrator Admin, 2010-07-23 10:40

View differences:

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() !');
}
(2-2/3)