mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-28 22:26:22 +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;
|
return false;
|
||||||
}
|
}
|
||||||
foreach ($needle as $what) {
|
foreach ($needle as $what) {
|
||||||
if (strpos($haystack, $what) !== false) {
|
if (stripos($haystack, $what) !== false) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user