Skip to content
Snippets Groups Projects
Commit b5939324 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

Merge pull request #6218 from leo-b/fix_ldap_setOption_returncode

correctly propagate the return value of ldap_set_option
parents 36c286f8 54e47b41
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ class LDAP implements ILDAPWrapper { ...@@ -91,7 +91,7 @@ class LDAP implements ILDAPWrapper {
} }
public function setOption($link, $option, $value) { 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) { public function sort($link, $result, $sortfilter) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment