]> git.mxchange.org Git - friendica.git/commitdiff
Assume hidewall key may be missing in ACL::getFullSelectorHTML
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 30 Nov 2019 15:45:47 +0000 (10:45 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 30 Nov 2019 15:45:47 +0000 (10:45 -0500)
- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-559974588

src/Core/ACL.php

index 3f163216e36137b61de76f91f26399e6930941a0..53e6c19691592243ce381b16766757ebf4273c05 100644 (file)
@@ -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;