Return '0' instead of null

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-07-19 15:44:25 +02:00 committed by Roeland Jago Douma
parent e1f52fc901
commit 084bac3530
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -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();