]> git.sur5r.net Git - contagged/commitdiff
search address book subtree, not only one level
authorChristian Weiske <cweiske@cweiske.de>
Mon, 30 Sep 2013 19:05:04 +0000 (21:05 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 30 Sep 2013 19:05:04 +0000 (21:05 +0200)
inc/functions.php

index bbae2701b2f18402547082e66515a8d8548bdf80..f2db92f7837c9201f7385f5dcce017f3ac0f2859 100644 (file)
@@ -387,7 +387,7 @@ function ldap_queryabooks($filter,$types){
   $result3 = array();
 
   // public addressbook
-  $sr      = @ldap_list($LDAP_CON,$conf['publicbook'],
+  $sr      = @ldap_search($LDAP_CON,$conf['publicbook'],
                         $filter,$types);
   tpl_ldaperror();
   $result1 = ldap_get_binentries($LDAP_CON, $sr);