From: Hypolite Petovan Date: Sat, 30 Nov 2019 15:45:47 +0000 (-0500) Subject: Assume hidewall key may be missing in ACL::getFullSelectorHTML X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=461f7f4bb0f30df216a87ecb908c128552d19dbe;p=friendica.git Assume hidewall key may be missing in ACL::getFullSelectorHTML - Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-559974588 --- diff --git a/src/Core/ACL.php b/src/Core/ACL.php index 3f163216e3..53e6c19691 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -410,7 +410,7 @@ class ACL extends BaseObject '$group_deny' => implode(',', $default_permissions['deny_gid']), '$for_federation' => $for_federation, '$jotnets_fields' => $jotnets_fields, - '$user_hidewall' => $default_permissions['hidewall'], + '$user_hidewall' => $default_permissions['hidewall'] ?? false, ]); return $o;