diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-12-12 23:09:31 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-12-13 16:29:42 +0100 |
commit | 1292793c4b4b9335779b5a907fe7c7fdf65a25ca (patch) | |
tree | 50abc434aed02beb00911e17ea8b014755c3db62 /apps/user_ldap | |
parent | ad998c1fb507648d4f48638c0818025f13a49dc0 (diff) | |
download | nextcloud-server-1292793c4b4b9335779b5a907fe7c7fdf65a25ca.tar.gz nextcloud-server-1292793c4b4b9335779b5a907fe7c7fdf65a25ca.zip |
LDAP: fix method behind save button on advancend and expert tabs, fixes at least Home Folder setinng
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/configuration.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/user_ldap/lib/configuration.php b/apps/user_ldap/lib/configuration.php index 874082f78f6..93f044e3152 100644 --- a/apps/user_ldap/lib/configuration.php +++ b/apps/user_ldap/lib/configuration.php @@ -129,6 +129,7 @@ class Configuration { if(!empty($val) && strpos($val, 'attr:') === false) { $val = 'attr:'.$val; } + break; case 'ldapBase': case 'ldapBaseUsers': case 'ldapBaseGroups': @@ -140,11 +141,11 @@ class Configuration { case 'ldapGroupFilterGroups': case 'ldapLoginFilterAttributes': $setMethod = 'setMultiLine'; - default: - $this->$setMethod($key, $val); - if(is_array($applied)) { - $applied[] = $inputkey; - } + break; + } + $this->$setMethod($key, $val); + if(is_array($applied)) { + $applied[] = $inputkey; } } |