From f265c39252dabe0938ed204820930d42a3a98e7a Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 29 Oct 2000 02:51:54 +0000 Subject: [PATCH] bad query --- addressbook/index.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/addressbook/index.php b/addressbook/index.php index c2d500b522..af5d88b3dd 100755 --- a/addressbook/index.php +++ b/addressbook/index.php @@ -52,8 +52,9 @@ . "%$query%' OR a.ab_firstname like '%$query%' OR a.ab_email like '%$query%' OR " . "a.ab_street like '%$query%' OR a.ab_city like '%$query%' OR a.ab_state " . "like '%$query%' OR a.ab_zip like '%$query%' OR a.ab_notes like " - . "'%$query%' OR c.company_name like '%$query%')" - . " $ordermethod limit $limit"); + . "'%$query%' OR c.company_name like '%$query%')"); +// . "'%$query%' OR c.company_name like '%$query%')" +// . " $ordermethod limit $limit"); } else { $phpgw->db->query("SELECT count(*) " . "from addressbook " @@ -61,8 +62,9 @@ . "%$query%' OR ab_firstname like '%$query%' OR ab_email like '%$query%' OR " . "ab_street like '%$query%' OR ab_city like '%$query%' OR ab_state " . "like '%$query%' OR ab_zip like '%$query%' OR ab_notes like " - . "'%$query%' OR ab_company like '%$query%')" - . " $ordermethod limit $limit"); + . "'%$query%' OR ab_company like '%$query%')"); +// . "'%$query%' OR ab_company like '%$query%')" +// . " $ordermethod limit $limit"); } $phpgw->db->next_record();