diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index 99b9aeff63..0d49570b62 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -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);