Skip to content
Snippets Groups Projects
Commit 54e47b41 authored by Alexander Bergolth's avatar Alexander Bergolth
Browse files

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)
parent 36bc6b87
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment