summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-12-12 23:09:31 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-12-13 16:29:42 +0100
commit1292793c4b4b9335779b5a907fe7c7fdf65a25ca (patch)
tree50abc434aed02beb00911e17ea8b014755c3db62 /apps/user_ldap
parentad998c1fb507648d4f48638c0818025f13a49dc0 (diff)
downloadnextcloud-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.php11
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;
}
}