mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #808 from pkoziol/issue-798
Fix search that worked only for lowercase queries
This commit is contained in:
commit
e7520a82c4
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user