aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-14 16:48:39 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-04-17 10:31:33 +0200
commit7d4b1b52d08fd4bc8e9f65ca2ccc747de2fc429a (patch)
treec40489a85da1be3eb66041a2ca2719f38c0298f3 /settings
parentf32d97750c33942db53a56d1deceacb2ed3e779b (diff)
downloadnextcloud-server-7d4b1b52d08fd4bc8e9f65ca2ccc747de2fc429a.tar.gz
nextcloud-server-7d4b1b52d08fd4bc8e9f65ca2ccc747de2fc429a.zip
always create a new instance of the encryption module
Diffstat (limited to 'settings')
-rw-r--r--settings/admin.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 5cfe2654f66..08b114b6d9e 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -96,10 +96,10 @@ try {
}
$encModulues = array();
foreach ($encryptionModules as $module) {
- $encModulues[$module->getId()]['displayName'] = $module->getDisplayName();
- $encModulues[$module->getId()]['default'] = false;
- if ($defaultEncryptionModule && $module->getId() === $defaultEncryptionModuleId) {
- $encModulues[$module->getId()]['default'] = true;
+ $encModulues[$module['id']]['displayName'] = $module['displayName'];
+ $encModulues[$module['id']]['default'] = false;
+ if ($defaultEncryptionModule && $module['id'] === $defaultEncryptionModuleId) {
+ $encModulues[$module['id']]['default'] = true;
}
}
$template->assign('encryptionModules', $encModulues);