Fix strict warning

This commit is contained in:
Trevor Slocum 2012-12-28 00:09:20 -08:00
parent abac35b01f
commit c38a4b2e84
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ class LikeWhereClause extends WhereClause
$this->regexp = '/^' . str_replace('%','.*', preg_quote($value)) . '$/i'; $this->regexp = '/^' . str_replace('%','.*', preg_quote($value)) . '$/i';
} }
function testRow ($tablerow) { function testRow ($tablerow, $rowSchema = NULL) {
return preg_match($this->regexp, $tablerow[$this->field]); return preg_match($this->regexp, $tablerow[$this->field]);
} }
} }