LDAP: fix method behind save button on advancend and expert tabs, fixes at least Home Folder setinng

This commit is contained in:
Arthur Schiwon 2013-12-12 23:09:31 +01:00
parent ad998c1fb5
commit 1292793c4b
1 changed files with 6 additions and 5 deletions

View File

@ -129,6 +129,7 @@ class Configuration {
if(!empty($val) && strpos($val, 'attr:') === false) { if(!empty($val) && strpos($val, 'attr:') === false) {
$val = 'attr:'.$val; $val = 'attr:'.$val;
} }
break;
case 'ldapBase': case 'ldapBase':
case 'ldapBaseUsers': case 'ldapBaseUsers':
case 'ldapBaseGroups': case 'ldapBaseGroups':
@ -140,11 +141,11 @@ class Configuration {
case 'ldapGroupFilterGroups': case 'ldapGroupFilterGroups':
case 'ldapLoginFilterAttributes': case 'ldapLoginFilterAttributes':
$setMethod = 'setMultiLine'; $setMethod = 'setMultiLine';
default: break;
$this->$setMethod($key, $val); }
if(is_array($applied)) { $this->$setMethod($key, $val);
$applied[] = $inputkey; if(is_array($applied)) {
} $applied[] = $inputkey;
} }
} }