added missing ')' to search string in list function

This commit is contained in:
ceb 2002-10-11 00:35:11 +00:00
parent a3aaf60ede
commit a8b4146b4e

View File

@ -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";