From: Michael Date: Tue, 29 Oct 2019 06:01:50 +0000 (+0000) Subject: Fix 7778: Don't return empty string in permissions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bef7eeed13368c81d75d166faec2b1819b5d8a4f;p=friendica.git Fix 7778: Don't return empty string in permissions --- 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); } }