Return '0' instead of null
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
e1f52fc901
commit
084bac3530
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue