Merge pull request #6218 from leo-b/fix_ldap_setOption_returncode

correctly propagate the return value of ldap_set_option
This commit is contained in:
blizzz 2013-12-06 08:54:29 -08:00
commit b5939324b0
1 changed files with 1 additions and 1 deletions

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