mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
added missing ')' to search string in list function
This commit is contained in:
parent
a3aaf60ede
commit
a8b4146b4e
@ -130,15 +130,11 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$whereclause .= ' WHERE ';
|
||||
$whereclause .= ' WHERE ( ';
|
||||
}
|
||||
|
||||
$whereclause .= " account_firstname LIKE '%$query%' OR account_lastname LIKE "
|
||||
. "'%$query%' OR account_lid LIKE '%$query%' ";
|
||||
if($whereclause)
|
||||
{
|
||||
$whereclause .= ' ) ';
|
||||
}
|
||||
. "'%$query%' OR account_lid LIKE '%$query%' )";
|
||||
}
|
||||
|
||||
$sql = "SELECT * FROM phpgw_accounts $whereclause $orderclause";
|
||||
|
Loading…
Reference in New Issue
Block a user