From: Andreas Gohr Date: Thu, 6 Dec 2007 15:08:20 +0000 (+0100) Subject: ignore missing personal addressbook while browsing X-Git-Tag: 0.7.1~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e784633d8cc8eb15ae92c6015cf86206ceb84538;p=contagged ignore missing personal addressbook while browsing darcs-hash:20071206150820-6e07b-4c565086618eaed75f9cf05b51f78245729d8e50.gz --- 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); }