From e25be5b24a6ebb17100e0929a11f5dcf8a2825eb Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 22 Aug 2002 12:22:58 +0000 Subject: [PATCH] GNU Patch #488 --- phpgwapi/inc/class.contacts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.contacts_sql.inc.php b/phpgwapi/inc/class.contacts_sql.inc.php index f66a4d03c7..56c3417cc7 100644 --- a/phpgwapi/inc/class.contacts_sql.inc.php +++ b/phpgwapi/inc/class.contacts_sql.inc.php @@ -510,7 +510,7 @@ reset($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; unset($f); unset($x);