mirror of
https://github.com/friendica/friendica
synced 2025-04-30 09:44:22 +02:00
Manually expand ACLs coming from non-permissionset tables
- Return early if parameter is empty in ACLFormatter->expand - Address https://github.com/friendica/friendica/issues/10756#issuecomment-949049195
This commit is contained in:
parent
b6faa0878a
commit
096dacf0fd
2 changed files with 6 additions and 2 deletions
|
@ -38,7 +38,7 @@ final class ACLFormatter
|
|||
public function expand(string $acl_string = null)
|
||||
{
|
||||
// In case there is no ID list, return empty array (=> no ACL set)
|
||||
if (!isset($acl_string)) {
|
||||
if (empty($acl_string)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue