Skip to content

Commit

Permalink
fix: dont process when filterTerm.Values is null
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan committed Mar 20, 2019
1 parent a582c6b commit dcde97a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sieve/Services/SieveProcessor.cs
Expand Up @@ -186,6 +186,8 @@ public SieveProcessor(IOptions<SieveOptions> options)
{
propertyValue = Expression.PropertyOrField(propertyValue, part);
}

if (filterTerm.Values == null) continue;

foreach (var filterTermValue in filterTerm.Values)
{
Expand Down

0 comments on commit dcde97a

Please sign in to comment.