From 682f9283a6ad3c7ea72c719f1c0e2c92c047708b Mon Sep 17 00:00:00 2001 From: koziolek Date: Sat, 2 Sep 2017 20:38:56 +0200 Subject: [PATCH] Fix search that worked only for lowercase queries firefly-iii/firefly-iii#798 --- app/Support/Search/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php index 9d9a575928..d9a4d9bc1b 100644 --- a/app/Support/Search/Search.php +++ b/app/Support/Search/Search.php @@ -236,7 +236,7 @@ class Search implements SearchInterface return false; } foreach ($needle as $what) { - if (strpos($haystack, $what) !== false) { + if (stripos($haystack, $what) !== false) { return true; } }