From bef7eeed13368c81d75d166faec2b1819b5d8a4f Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 29 Oct 2019 06:01:50 +0000 Subject: [PATCH] Fix 7778: Don't return empty string in permissions --- src/Util/ACLFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/ACLFormatter.php b/src/Util/ACLFormatter.php index 1fb7787610..4a36f3ebf2 100644 --- a/src/Util/ACLFormatter.php +++ b/src/Util/ACLFormatter.php @@ -36,7 +36,7 @@ final class ACLFormatter } elseif (in_array($item, [Group::FOLLOWERS, Group::MUTUALS])) { $item = '<' . $item . '>'; } else { - $item = ''; + unset($item); } } -- 2.39.5