diff options
author | blizzz <blizzz@owncloud.com> | 2013-12-06 08:54:29 -0800 |
---|---|---|
committer | blizzz <blizzz@owncloud.com> | 2013-12-06 08:54:29 -0800 |
commit | b5939324b0053b6447423ebc8b269e9f773f7f02 (patch) | |
tree | c95907bbb5a4027f7259549ca1784a0070ef4ca2 | |
parent | 36c286f8794f81e507b33dbdc84a8640df55e594 (diff) | |
parent | 54e47b4180ee93ce3fb6c78a7c08767b41ebb1d1 (diff) | |
download | nextcloud-server-b5939324b0053b6447423ebc8b269e9f773f7f02.tar.gz nextcloud-server-b5939324b0053b6447423ebc8b269e9f773f7f02.zip |
Merge pull request #6218 from leo-b/fix_ldap_setOption_returncode
correctly propagate the return value of ldap_set_option
-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) { |