]> git.mxchange.org Git - friendica.git/commitdiff
Fix 7778: Don't return empty string in permissions
authorMichael <heluecht@pirati.ca>
Tue, 29 Oct 2019 06:01:50 +0000 (06:01 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 29 Oct 2019 06:01:50 +0000 (06:01 +0000)
src/Util/ACLFormatter.php

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