From e784633d8cc8eb15ae92c6015cf86206ceb84538 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 6 Dec 2007 16:08:20 +0100 Subject: [PATCH] ignore missing personal addressbook while browsing darcs-hash:20071206150820-6e07b-4c565086618eaed75f9cf05b51f78245729d8e50.gz --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 33300c6..eb1619c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -397,7 +397,7 @@ function ldap_queryabooks($filter,$types){ $sr = @ldap_list($LDAP_CON,$conf['privatebook']. ','.$_SESSION['ldapab']['binddn'], $filter,$types); - tpl_ldaperror(); + if(ldap_errno($LDAP_CON) != 32) tpl_ldaperror(); // ignore missing address book $result2 = ldap_get_binentries($LDAP_CON, $sr); } -- 2.39.2