mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-24 22:42:30 +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
@ -186,6 +186,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