mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 13:36:15 +00:00
Fix search that worked only for lowercase queries
firefly-iii/firefly-iii#798
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user