diff --git a/src/Forum/Content/Discussion.php b/src/Forum/Content/Discussion.php index 523024b8f7..e4d33f8a3c 100644 --- a/src/Forum/Content/Discussion.php +++ b/src/Forum/Content/Discussion.php @@ -83,7 +83,7 @@ public function __invoke(Document $document, Request $request) $queryString = http_build_query($newQueryParams); - return $this->url->to('forum')->route('discussion', ['id' => $apiDocument->data->attributes->slug]) . + return $this->url->to('forum')->route('discussion', ['id' => $apiDocument->data->attributes->slug]). ($queryString ? '?'.$queryString : ''); };