@@ -52,6 +52,10 @@ func (s *SingleItem) Check(ov, nv string) string {
}
func (s *SingleItem) check(rule Rule) bool {
+ if s.ov == "" || s.nv == "" {
+ return false
+ }
+
var ovIn, ovNotIn, nvIn, nvNotIn = true, true, true, true
if rule.OvIn != nil {
ovIn = s.ovIn(rule.OvIn)