]> source.dussan.org Git - nextcloud-server.git/commitdiff
if the database doesn't contain any information about the recovery mode than we assum...
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 30 Oct 2013 10:28:36 +0000 (11:28 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 30 Oct 2013 10:28:36 +0000 (11:28 +0100)
apps/files_encryption/settings-admin.php

index 5367605898262f3d66b0e83a5aa9c06859fa8182..351bb652d9d0d43e9152a0211ec2baeefc1a82d5 100644 (file)
@@ -13,7 +13,7 @@ $tmpl = new OCP\Template('files_encryption', 'settings-admin');
 // Check if an adminRecovery account is enabled for recovering files after lost pwd
 $view = new OC_FilesystemView('');
 
-$recoveryAdminEnabled = OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled');
+$recoveryAdminEnabled = OC_Appconfig::getValue('files_encryption', 'recoveryAdminEnabled', '0');
 
 $tmpl->assign('recoveryEnabled', $recoveryAdminEnabled);