]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP: fix method behind save button on advancend and expert tabs, fixes at least...
authorArthur Schiwon <blizzz@owncloud.com>
Thu, 12 Dec 2013 22:09:31 +0000 (23:09 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Fri, 13 Dec 2013 15:29:42 +0000 (16:29 +0100)
apps/user_ldap/lib/configuration.php

index 874082f78f6929b0a0b614c7123f19f11e9205d2..93f044e3152743552276e30d8e7dc8913cd01d70 100644 (file)
@@ -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;
                        }
                }