mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Make modifiers case insensitive.
This commit is contained in:
parent
a939a5ba30
commit
c218c70b1f
@ -312,7 +312,7 @@ class Search implements SearchInterface
|
||||
{
|
||||
$parts = explode(':', $string);
|
||||
if (2 === count($parts) && '' !== trim((string)$parts[1]) && '' !== trim((string)$parts[0])) {
|
||||
$type = trim((string)$parts[0]);
|
||||
$type = strtolower(trim((string)$parts[0]));
|
||||
$value = trim((string)$parts[1]);
|
||||
$value = trim(trim($value, '"\''));
|
||||
if (in_array($type, $this->validModifiers, true)) {
|
||||
|
Loading…
Reference in New Issue
Block a user