Remove unneccessary check for name=access in filtering section of read

This commit is contained in:
Miles Lott 2001-02-06 13:09:28 +00:00
parent ba49fd9fdd
commit 02588d9ef7

View File

@ -197,9 +197,7 @@
if ($extra) {
while (list($name,$value) = each($extra)) {
if ($name == "access" && $value != "private") {
$value = "%," . $value . ",%";
}
$value = "%," . $value . ",%";
$filterextra .= " AND contact_name='".$name."' AND contact_value like '".$value."',";
}
$filterextra = substr($filterextra,0,-1);