This commit is contained in:
Miles Lott 2002-08-22 12:22:58 +00:00
parent 9697eb01a4
commit e25be5b24a

View File

@ -510,7 +510,7 @@
reset($this->stock_contact_fields); reset($this->stock_contact_fields);
while(list($f,$x) = each($this->stock_contact_fields)) while(list($f,$x) = each($this->stock_contact_fields))
{ {
$sql .= " $f LIKE '%$query%' OR "; $sql .= " UPPER($f) LIKE UPPER('%$query%') OR ";
} }
$sql = substr($sql,0,-3) . ') ' . $fand . $filtermethod . $ordermethod; $sql = substr($sql,0,-3) . ') ' . $fand . $filtermethod . $ordermethod;
unset($f); unset($x); unset($f); unset($x);