From 461f7f4bb0f30df216a87ecb908c128552d19dbe Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 30 Nov 2019 10:45:47 -0500 Subject: [PATCH] Assume hidewall key may be missing in ACL::getFullSelectorHTML - Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-559974588 --- src/Core/ACL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/ACL.php b/src/Core/ACL.php index 3f163216e..53e6c1969 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;