diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/ajax/getNewServerConfigPrefix.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/ajax/getNewServerConfigPrefix.php b/apps/user_ldap/ajax/getNewServerConfigPrefix.php index aa97b181846..897e4a9924f 100644 --- a/apps/user_ldap/ajax/getNewServerConfigPrefix.php +++ b/apps/user_ldap/ajax/getNewServerConfigPrefix.php @@ -41,6 +41,7 @@ if(isset($_POST['copyConfig'])) { $newConfig->setConfiguration($originalConfig->getConfiguration()); } else { $configuration = new \OCA\user_ldap\lib\Configuration($nk, false); + $newConfig->setConfiguration($configuration->getDefaults()); $resultData['defaults'] = $configuration->getDefaults(); } $newConfig->saveConfiguration(); |