Merge pull request #7787 from annando/issue-7778
Fix 7778: Don't return empty string in permissions
This commit is contained in:
commit
5e55aa41cb
|
@ -36,7 +36,7 @@ final class ACLFormatter
|
||||||
} elseif (in_array($item, [Group::FOLLOWERS, Group::MUTUALS])) {
|
} elseif (in_array($item, [Group::FOLLOWERS, Group::MUTUALS])) {
|
||||||
$item = '<' . $item . '>';
|
$item = '<' . $item . '>';
|
||||||
} else {
|
} else {
|
||||||
$item = '';
|
unset($item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue