From: Arthur Schiwon Date: Thu, 12 Dec 2013 22:09:31 +0000 (+0100) Subject: LDAP: fix method behind save button on advancend and expert tabs, fixes at least... X-Git-Tag: v7.0.0alpha2~1038 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1292793c4b4b9335779b5a907fe7c7fdf65a25ca;p=nextcloud-server.git LDAP: fix method behind save button on advancend and expert tabs, fixes at least Home Folder setinng --- 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; } }