Skip to content

Commit

Permalink
Merge branch 'dev-v3.1.4' of github.com:adobe/aepsdk-core-ios into as…
Browse files Browse the repository at this point in the history
…surance
  • Loading branch information
PravinPK committed May 20, 2021
2 parents 84dd4b4 + 1599c5e commit f377c39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AEPCore/Sources/rules/JSONRulesParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class JSONCondition: Codable {
}
return nil
case .matcher:
if let key = definition.key, let matcher = definition.matcher, let values = definition.values {
let values = definition.values ?? []
if let key = definition.key, let matcher = definition.matcher {
if values.count == 0 {
return convert(key: key, matcher: matcher, anyCodable: "")
}
Expand Down

0 comments on commit f377c39

Please sign in to comment.