From 42bddcf7743304067b5b796dad64f1366d47d24f Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 21 Feb 2001 23:20:06 +0000 Subject: [PATCH] Add n_middle to search --- addressbook/inc/class.contacts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index 91b87e25ce..ce5c8a6d17 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -384,7 +384,7 @@ } if ($query) { - $squery = " AND (n_family like '" + $squery = " AND (n_family like '%$query%' OR n_middle like '" . "%$query%' OR n_given like '%$query%' OR d_email like '%$query%' OR " . "adr_street like '%$query%' OR adr_locality like '%$query%' OR adr_region " . "like '%$query%' OR adr_postalcode like '%$query%' OR org_unit like "