From 3f61ced92e131c043244afc207a7edfb3815e8fe Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 6 Apr 2001 21:14:38 +0000 Subject: [PATCH] Add bday to list of queried fields --- 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 b66deb3542..428cc4d32d 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -436,7 +436,7 @@ $this->db3 = $this->db2 = $this->db; // Create new result objects before our queries if ($query) { - $this->db3->query("SELECT * FROM $this->std_table WHERE (n_family LIKE '" + $this->db3->query("SELECT * FROM $this->std_table WHERE (bday LIKE '%$query%' OR n_family LIKE '" . "%$query%' OR n_given LIKE '%$query%' OR email LIKE '%$query%' OR " . "adr_one_street LIKE '%$query%' OR adr_one_locality LIKE '%$query%' OR adr_one_region LIKE '%$query%' OR " . "adr_one_postalcode LIKE '%$query%' OR adr_one_countryname LIKE '%$query%' OR "