Skip to content

Firefly III: a personal finances manager

Fix #3853

James Colee0526508cb8c
diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.php
index e6adb2ba34..e20e3b7f7d 100644
--- a/app/Validation/FireflyValidator.php
+++ b/app/Validation/FireflyValidator.php
@@ -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);
}
/**