Browse Source

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)
tags/v7.0.0alpha2
root 10 years ago
parent
commit
54e47b4180
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/user_ldap/lib/ldap.php

+ 1
- 1
apps/user_ldap/lib/ldap.php View File

@@ -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) {

Loading…
Cancel
Save