mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-26 07:00:10 -05:00
Fix #3853
This commit is contained in:
1 file changed
+1
-9
@@ -360,16 +360,8 @@ class FireflyValidator extends Validator
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
// and finally a "will match everything check":
|
||||
$classes = array_keys(config('firefly.search.operators'));
|
||||
/** @var TriggerInterface $class */
|
||||
$class = $classes[$triggerType] ?? false;
|
||||
if (false === $class) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return !$class::willMatchEverything($value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user