summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 15:44:25 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:15 +0200
commit084bac353023e1c450f91f71ff1e4ac389e2497e (patch)
tree53176921887e1a9549f09169295974f05cb30a3b /settings/users.php
parente1f52fc9019856d52466d9b796ce738e31f1c4ca (diff)
downloadnextcloud-server-084bac353023e1c450f91f71ff1e4ac389e2497e.tar.gz
nextcloud-server-084bac353023e1c450f91f71ff1e4ac389e2497e.zip
Return '0' instead of null
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/users.php b/settings/users.php
index 4d214bf9502..8dedb703ada 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -73,7 +73,7 @@ $groupsInfo->setSorting($sortGroupsBy);
list($adminGroup, $groups) = $groupsInfo->get();
$recoveryAdminEnabled = OC_App::isEnabled('encryption') &&
- $config->getAppValue( 'encryption', 'recoveryAdminEnabled', null );
+ $config->getAppValue( 'encryption', 'recoveryAdminEnabled', '0');
if($isAdmin) {
$subAdmins = \OC::$server->getGroupManager()->getSubAdmin()->getAllSubAdmins();