From 1292793c4b4b9335779b5a907fe7c7fdf65a25ca Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 12 Dec 2013 23:09:31 +0100 Subject: [PATCH] LDAP: fix method behind save button on advancend and expert tabs, fixes at least Home Folder setinng --- apps/user_ldap/lib/configuration.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/user_ldap/lib/configuration.php b/apps/user_ldap/lib/configuration.php index 874082f78f..93f044e315 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; } }