fix: dont process when filterTerm.Values is null

This commit is contained in:
Brendan 2019-03-20 14:04:33 -04:00 committed by GitHub
parent a582c6be06
commit dcde97af91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,8 @@ namespace Sieve.Services
propertyValue = Expression.PropertyOrField(propertyValue, part);
}
if (filterTerm.Values == null) continue;
foreach (var filterTermValue in filterTerm.Values)
{