mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Corrected SQL error
This commit is contained in:
parent
895c9ba0f3
commit
bdedd300cd
@ -133,7 +133,7 @@
|
||||
. "%$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%') $ordermethod limit $limit");
|
||||
} else {
|
||||
$phpgw->db->query("SELECT * FROM addressbook WHERE $filtermethod $ordermethod limit $limit");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user