From 1ba304462fadc2408176ddb53d8411fa343eb2ae Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 5 Oct 2017 07:19:23 +0200 Subject: [PATCH] make search query a string --- app/Http/Controllers/SearchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 596616359b..f392d2c387 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -63,7 +63,7 @@ class SearchController extends Controller public function search(Request $request, SearchInterface $searcher) { - $fullQuery = $request->get('query'); + $fullQuery = strval($request->get('query')); // parse search terms: $searcher->parseQuery($fullQuery);