aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorroot <leo@strike.wu.ac.at>2013-12-06 12:04:17 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-12-06 18:01:42 +0100
commit87a28957aadc1b1dcf5131f3421fd26886c13bfb (patch)
treef7a9a4e185b9b47039bd6d92ed20ec4e31fd4ae5 /apps
parent01de6c565ac322f24821e24383f1d5029d30a87f (diff)
downloadnextcloud-server-87a28957aadc1b1dcf5131f3421fd26886c13bfb.tar.gz
nextcloud-server-87a28957aadc1b1dcf5131f3421fd26886c13bfb.zip
correctly propagate the return value of ldap_set_option
otherwise LDAP_OPT_REFERRALS won't be set to 0 and in turn active directory paging will stop working (Operations error on ldap_control_paged_result_response)
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/ldap.php b/apps/user_ldap/lib/ldap.php
index bc963191722..dda8533c41f 100644
--- a/apps/user_ldap/lib/ldap.php
+++ b/apps/user_ldap/lib/ldap.php
@@ -91,7 +91,7 @@ class LDAP implements ILDAPWrapper {
}
public function setOption($link, $option, $value) {
- $this->invokeLDAPMethod('set_option', $link, $option, $value);
+ return $this->invokeLDAPMethod('set_option', $link, $option, $value);
}
public function sort($link, $result, $sortfilter) {