Merge pull request #7787 from annando/issue-7778

Fix 7778: Don't return empty string in permissions
This commit is contained in:
Tobias Diekershoff 2019-10-29 07:24:02 +01:00 committed by GitHub
commit 5e55aa41cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ final class ACLFormatter
} elseif (in_array($item, [Group::FOLLOWERS, Group::MUTUALS])) {
$item = '<' . $item . '>';
} else {
$item = '';
unset($item);
}
}