From 02588d9ef7ec5fa9e0ec98910b3a2ef4e8bbc853 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 6 Feb 2001 13:09:28 +0000 Subject: [PATCH] Remove unneccessary check for name=access in filtering section of read --- addressbook/inc/class.contacts_sql.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);