Skip to content

Commit

Permalink
Merge pull request #59 from BrendanLouis1223/patch-1
Browse files Browse the repository at this point in the history
fix: dont process when filterTerm.Values is null
  • Loading branch information
Biarity committed Apr 13, 2019
2 parents a582c6b + dcde97a commit 9f6163d
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 9f6163d

Please sign in to comment.