Skip to content

Firefly III: a personal finances manager

make search query a string

James Cole1ba304462fad
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);