Skip to content

Firefly III: a personal finances manager

Fix search that worked only for lowercase queries

koziolek682f9283a6ad
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;
}
}