Assume hidewall key may be missing in ACL::getFullSelectorHTML

- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-559974588
This commit is contained in:
Hypolite Petovan 2019-11-30 10:45:47 -05:00
parent 8892b3daa1
commit 461f7f4bb0

View file

@ -410,7 +410,7 @@ class ACL extends BaseObject
'$group_deny' => implode(',', $default_permissions['deny_gid']), '$group_deny' => implode(',', $default_permissions['deny_gid']),
'$for_federation' => $for_federation, '$for_federation' => $for_federation,
'$jotnets_fields' => $jotnets_fields, '$jotnets_fields' => $jotnets_fields,
'$user_hidewall' => $default_permissions['hidewall'], '$user_hidewall' => $default_permissions['hidewall'] ?? false,
]); ]);
return $o; return $o;