diff options
author | root <leo@strike.wu.ac.at> | 2013-12-06 12:04:17 +0100 |
---|---|---|
committer | root <leo@strike.wu.ac.at> | 2013-12-06 12:04:17 +0100 |
commit | 54e47b4180ee93ce3fb6c78a7c08767b41ebb1d1 (patch) | |
tree | 674359fd93bee38cbe87878b84ee26de13bef72e /apps | |
parent | 36bc6b871f7dbd27e5b764d7a218bfab6dba96c8 (diff) | |
download | nextcloud-server-54e47b4180ee93ce3fb6c78a7c08767b41ebb1d1.tar.gz nextcloud-server-54e47b4180ee93ce3fb6c78a7c08767b41ebb1d1.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.php | 2 |
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) { |