mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 05:22:57 +01:00
Merge pull request #59 from BrendanLouis1223/patch-1
fix: dont process when filterTerm.Values is null
This commit is contained in:
commit
9f6163d318
@ -187,6 +187,8 @@ namespace Sieve.Services
|
|||||||
propertyValue = Expression.PropertyOrField(propertyValue, part);
|
propertyValue = Expression.PropertyOrField(propertyValue, part);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (filterTerm.Values == null) continue;
|
||||||
|
|
||||||
foreach (var filterTermValue in filterTerm.Values)
|
foreach (var filterTermValue in filterTerm.Values)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user