diff --git a/extensions/tags/src/Access/TagPolicy.php b/extensions/tags/src/Access/TagPolicy.php index c3314bbc5..3578712ca 100755 --- a/extensions/tags/src/Access/TagPolicy.php +++ b/extensions/tags/src/Access/TagPolicy.php @@ -34,6 +34,6 @@ class TagPolicy extends AbstractPolicy */ public function addToDiscussion(User $actor, Tag $tag) { - return $actor->can('startDiscussion', $tag); + return $actor->can('startDiscussion', $tag) ? $this->allow() : $this->deny(); } }